Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.37/2.37, allocations: 390.3 MB / 402.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 165 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 0.7915 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 95.94 kB / 0.9318 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.868e-05/3.88e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3318, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.394, allocations: 154 MB / 1.369 GB, free: 120 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/1.394, allocations: 84 kB / 1.369 GB, free: 76 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01933/1.414, allocations: 7.138 MB / 1.376 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.413e-06/1.414, allocations: 0 / 1.376 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.863e-05/1.414, allocations: 4 kB / 1.376 GB, free: 10.02 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00076/1.414, allocations: 0.4927 MB / 1.377 GB, free: 9.492 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.415, allocations: 8.031 kB / 1.377 GB, free: 9.484 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/1.415, allocations: 38.44 kB / 1.377 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/1.415, allocations: 39.56 kB / 1.377 GB, free: 9.402 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006515/1.415, allocations: 329.6 kB / 1.377 GB, free: 9.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/1.415, allocations: 11.92 kB / 1.377 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/1.415, allocations: 7.438 kB / 1.377 GB, free: 9.055 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/1.416, allocations: 82.61 kB / 1.377 GB, free: 8.984 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.416, allocations: 0 / 1.377 GB, free: 8.984 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/1.416, allocations: 4 kB / 1.377 GB, free: 8.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.416, allocations: 0 / 1.377 GB, free: 8.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/1.416, allocations: 41.3 kB / 1.377 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000789/1.417, allocations: 452.6 kB / 1.378 GB, free: 8.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/1.417, allocations: 80.98 kB / 1.378 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/1.417, allocations: 26.05 kB / 1.378 GB, free: 8.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/1.417, allocations: 7.953 kB / 1.378 GB, free: 8.422 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/1.417, allocations: 88.98 kB / 1.378 GB, free: 8.332 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 3.346e-06/1.417, allocations: 0 / 1.378 GB, free: 8.332 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002555/1.417, allocations: 110.1 kB / 1.378 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/1.417, allocations: 51.41 kB / 1.378 GB, free: 8.172 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/1.418, allocations: 353.8 kB / 1.378 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/1.418, allocations: 25.7 kB / 1.378 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/1.418, allocations: 142.6 kB / 1.379 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/1.418, allocations: 22.25 kB / 1.379 GB, free: 7.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/1.418, allocations: 4 kB / 1.379 GB, free: 7.727 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.418, allocations: 337.2 kB / 1.379 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/1.418, allocations: 73.28 kB / 1.379 GB, free: 7.352 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/1.418, allocations: 93.27 kB / 1.379 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/1.418, allocations: 66.88 kB / 1.379 GB, free: 7.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.418, allocations: 4.031 kB / 1.379 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003271/1.419, allocations: 221.7 kB / 1.379 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/1.419, allocations: 7.953 kB / 1.379 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.419, allocations: 0 / 1.379 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/1.419, allocations: 4 kB / 1.379 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/1.419, allocations: 23.92 kB / 1.379 GB, free: 7.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.419, allocations: 4 kB / 1.379 GB, free: 7.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/1.419, allocations: 15.42 kB / 1.379 GB, free: 7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/1.419, allocations: 19.33 kB / 1.379 GB, free: 6.984 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.324e-05/1.419, allocations: 109.5 kB / 1.38 GB, free: 6.875 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/1.419, allocations: 27.66 kB / 1.38 GB, free: 6.848 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/1.42, allocations: 127.1 kB / 1.38 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.42, allocations: 4 kB / 1.38 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.42, allocations: 0 / 1.38 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.42, allocations: 0 / 1.38 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/1.42, allocations: 248.1 kB / 1.38 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.42, allocations: 4 kB / 1.38 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/1.42, allocations: 11.98 kB / 1.38 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.42, allocations: 3.938 kB / 1.38 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/1.42, allocations: 0 / 1.38 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.42, allocations: 3.953 kB / 1.38 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.42, allocations: 4 kB / 1.38 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/1.42, allocations: 145.2 kB / 1.38 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/1.42, allocations: 100.8 kB / 1.38 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/1.42, allocations: 11.5 kB / 1.38 GB, free: 6.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/1.42, allocations: 15.92 kB / 1.38 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/1.42, allocations: 19.36 kB / 1.38 GB, free: 6.148 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/1.42, allocations: 4 kB / 1.38 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002479/1.421, allocations: 236.5 kB / 1.381 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.421, allocations: 0 / 1.381 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002667/1.421, allocations: 59.17 kB / 1.381 GB, free: 5.906 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/1.422, allocations: 0.9574 MB / 1.381 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002301/1.423, allocations: 110 kB / 1.382 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.423, allocations: 0 / 1.382 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.321e-05/1.423, allocations: 26.75 kB / 1.382 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/1.423, allocations: 58.64 kB / 1.382 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007613/1.424, allocations: 391.3 kB / 1.382 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/1.424, allocations: 0.7545 MB / 1.383 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001085/1.424, allocations: 42.19 kB / 1.383 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/1.424, allocations: 68.84 kB / 1.383 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.424, allocations: 0 / 1.383 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/1.444, allocations: 5.068 MB / 1.388 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/1.444, allocations: 205.4 kB / 1.388 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/3.268, allocations: 0 / 1.388 GB, free: 14.62 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.mat does not exist to compare? outputFormat=mat