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.484/2.484, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001233/0.001233, allocations: 176 kB / 0.4901 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.00102/0.00102, allocations: 104.3 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004542, allocations: 14.06 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3248, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.5179, allocations: 154.1 MB / 1.38 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5182, allocations: 83.89 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02004/0.5383, allocations: 7.168 MB / 1.387 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5383, allocations: 0 / 1.387 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.632e-05/0.5383, allocations: 4 kB / 1.387 GB, free: 8.172 MB / 0.8855 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.0008712/0.5392, allocations: 0.5451 MB / 1.387 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5393, allocations: 16.55 kB / 1.387 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/0.5393, allocations: 38.56 kB / 1.387 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.929e-05/0.5394, allocations: 27.67 kB / 1.387 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.54, allocations: 338.3 kB / 1.388 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.5401, allocations: 12 kB / 1.388 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5401, allocations: 7.938 kB / 1.388 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.5403, allocations: 81.64 kB / 1.388 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.5403, allocations: 0 / 1.388 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.5403, allocations: 4 kB / 1.388 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5403, allocations: 4 kB / 1.388 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.5404, allocations: 39.92 kB / 1.388 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000753/0.5412, allocations: 452.5 kB / 1.388 GB, free: 6.473 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.5415, allocations: 94.59 kB / 1.388 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.5415, allocations: 4 kB / 1.388 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.5416, allocations: 79.45 kB / 1.389 GB, free: 6.277 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 2.394e-06/0.5417, allocations: 0 / 1.389 GB, free: 6.277 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0003268/0.542, allocations: 141.3 kB / 1.389 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.542, allocations: 55.41 kB / 1.389 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.5425, allocations: 358 kB / 1.389 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.5425, allocations: 33.7 kB / 1.389 GB, free: 5.672 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.5426, allocations: 136 kB / 1.389 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.5427, allocations: 19.75 kB / 1.389 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.5427, allocations: 4 kB / 1.389 GB, free: 5.512 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5428, allocations: 338.8 kB / 1.39 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.543, allocations: 71.95 kB / 1.39 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.5432, allocations: 100.9 kB / 1.39 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.5433, allocations: 67.98 kB / 1.39 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5433, allocations: 0 / 1.39 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003647/0.5437, allocations: 228.5 kB / 1.39 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5437, allocations: 7.953 kB / 1.39 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5437, allocations: 0 / 1.39 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.5438, allocations: 0 / 1.39 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.5439, allocations: 23.98 kB / 1.39 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.5439, allocations: 3.938 kB / 1.39 GB, free: 4.668 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.544, allocations: 27.89 kB / 1.39 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.5441, allocations: 12 kB / 1.39 GB, free: 4.629 MB / 0.8855 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 () * Number of clocked 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 0.0001691/0.5443, allocations: 154.7 kB / 1.39 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.5443, allocations: 23.72 kB / 1.39 GB, free: 4.445 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.5446, allocations: 135.2 kB / 1.39 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5447, allocations: 4 kB / 1.39 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5447, allocations: 0 / 1.39 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5447, allocations: 0 / 1.39 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.545, allocations: 249.6 kB / 1.391 GB, free: 4.004 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.545, allocations: 4 kB / 1.391 GB, free: 4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.545, allocations: 7.984 kB / 1.391 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.545, allocations: 0 / 1.391 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.5451, allocations: 3.984 kB / 1.391 GB, free: 3.988 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.5451, allocations: 7.891 kB / 1.391 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5451, allocations: 4 kB / 1.391 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.5454, allocations: 148.8 kB / 1.391 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.5455, allocations: 104.8 kB / 1.391 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.5455, allocations: 4 kB / 1.391 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.5456, allocations: 15.98 kB / 1.391 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.5457, allocations: 15.92 kB / 1.391 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.5457, allocations: 4 kB / 1.391 GB, free: 3.652 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003035/0.546, allocations: 245.9 kB / 1.391 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.546, allocations: 0 / 1.391 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003174/0.5464, allocations: 56.05 kB / 1.391 GB, free: 3.359 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001758/0.5481, allocations: 0.9904 MB / 1.392 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.5485, allocations: 119.9 kB / 1.392 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5485, allocations: 0 / 1.392 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.5486, allocations: 35.92 kB / 1.392 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.5489, allocations: 53.69 kB / 1.392 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.5502, allocations: 0.8656 MB / 1.393 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.5505, allocations: 0.7596 MB / 1.394 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.5506, allocations: 29.94 kB / 1.394 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.5508, allocations: 67.41 kB / 1.394 GB, free: 500 kB / 0.8855 GB Notification: Performance of SimCode: time 3.958e-06/0.5508, allocations: 4 kB / 1.394 GB, free: 496 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.5685, allocations: 5.059 MB / 1.399 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.5687, allocations: 228.3 kB / 1.399 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.459, allocations: 0 / 1.399 GB, free: 11.39 MB / 0.9011 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