Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 192.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.477/2.477, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 67.16 kB / 0.8987 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2503, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002038/0.2524, allocations: 0.8879 MB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008733/0.2533, allocations: 0.8779 MB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.2534, allocations: 4 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.179e-05/0.2535, allocations: 11.86 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.999e-05/0.2535, allocations: 15.92 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.262e-05/0.2536, allocations: 15.98 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.254e-05/0.2537, allocations: 75.84 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.518e-05/0.2538, allocations: 35.86 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.2539, allocations: 31.84 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.2539, allocations: 27.86 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.254, allocations: 8 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.254, allocations: 4 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.254, allocations: 11.92 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.254, allocations: 31.81 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.07e-05/0.2541, allocations: 79.95 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.2541, allocations: 0 / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2541, allocations: 4 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.2541, allocations: 4 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003854/0.2545, allocations: 379.2 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.2546, allocations: 8.625 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.2546, allocations: 42.69 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.2546, allocations: 8.844 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.2548, allocations: 193.8 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.2548, allocations: 4.375 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.2548, allocations: 12.31 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.2549, allocations: 74.14 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.2549, allocations: 3.938 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.255, allocations: 7.938 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-06/0.255, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.096e-05/0.2551, allocations: 31.98 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.2554, allocations: 320.6 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.2556, allocations: 46.56 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.2556, allocations: 21 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.2557, allocations: 0 / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.2557, allocations: 34.56 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.2557, allocations: 0 / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001896/0.2559, allocations: 77.61 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.2559, allocations: 51.41 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.392e-05/0.256, allocations: 131.4 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.256, allocations: 33.7 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.2561, allocations: 104 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.2561, allocations: 3.906 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.2561, allocations: 25.7 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.2562, allocations: 314.8 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.2563, allocations: 19.98 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-05/0.2563, allocations: 19.98 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.652e-05/0.2564, allocations: 28.84 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2564, allocations: 0 / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001296/0.2565, allocations: 73.53 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.2566, allocations: 4 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.2566, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.2566, allocations: 3.984 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.545e-05/0.2566, allocations: 4 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2567, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.2567, allocations: 11.98 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.2567, allocations: 3.938 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/0.2568, allocations: 117.8 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.2569, allocations: 7.906 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.2569, allocations: 12.23 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2569, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2569, allocations: 3.938 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2569, allocations: 4 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.2571, allocations: 189.8 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2571, allocations: 0 / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.2571, allocations: 4 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.2571, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-06/0.2571, allocations: 3.938 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.2571, allocations: 7.984 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2572, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.2573, allocations: 163.4 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.2574, allocations: 81.11 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.2574, allocations: 4 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/0.2575, allocations: 7.984 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.2575, allocations: 11.98 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.2575, allocations: 4 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.2576, allocations: 108.7 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2576, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002134/0.2578, allocations: 11.94 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004148/0.2582, allocations: 0.7006 MB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.2584, allocations: 31.98 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2584, allocations: 0 / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.477e-05/0.2584, allocations: 23.92 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2587, allocations: 9.547 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.2599, allocations: 1.389 MB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.2601, allocations: 0.6885 MB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.898e-05/0.2602, allocations: 7.984 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.2602, allocations: 27.42 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2602, allocations: 0 / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3669/0.6271, allocations: 1.795 MB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.6273, allocations: 217.4 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.628, allocations: 4 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches