Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.294/2.294, allocations: 390.5 MB / 398 MB, free: 10.96 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.001212/0.001212, allocations: 172.9 kB / 491.2 MB, free: 1.621 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.627/1.627, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.001059/0.001059, allocations: 89.47 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.346e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3436, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.433, allocations: 153.4 MB / 1.362 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/1.434, allocations: 83.03 kB / 1.362 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02776/1.461, allocations: 11.34 MB / 1.373 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.461, allocations: 0 / 1.373 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.851e-05/1.462, allocations: 7.281 kB / 1.373 GB, free: 32.57 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009202/1.462, allocations: 0.5691 MB / 1.374 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.463, allocations: 14.34 kB / 1.374 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/1.463, allocations: 34.91 kB / 1.374 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007815/1.463, allocations: 447.4 kB / 1.374 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/1.463, allocations: 3.844 kB / 1.374 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/1.464, allocations: 7.156 kB / 1.374 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001317/1.464, allocations: 62.17 kB / 1.374 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/1.464, allocations: 108.7 kB / 1.375 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/1.464, allocations: 0 / 1.375 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/1.464, allocations: 0 / 1.375 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.464, allocations: 3.875 kB / 1.375 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/1.465, allocations: 0.5385 MB / 1.375 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/1.465, allocations: 120 kB / 1.375 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/1.465, allocations: 40.72 kB / 1.375 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/1.465, allocations: 0 / 1.375 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/1.465, allocations: 114.2 kB / 1.375 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/1.465, allocations: 0 / 1.375 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002977/1.465, allocations: 158 kB / 1.376 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/1.466, allocations: 53.89 kB / 1.376 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/1.466, allocations: 479 kB / 1.376 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/1.466, allocations: 29.39 kB / 1.376 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/1.466, allocations: 177.8 kB / 1.376 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/1.466, allocations: 36.77 kB / 1.376 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/1.466, allocations: 2.906 kB / 1.376 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.466, allocations: 353.5 kB / 1.377 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/1.466, allocations: 107.2 kB / 1.377 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/1.467, allocations: 153.7 kB / 1.377 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/1.467, allocations: 129.9 kB / 1.377 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.467, allocations: 4.031 kB / 1.377 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005196/1.467, allocations: 351 kB / 1.377 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.468, allocations: 7.719 kB / 1.377 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.468, allocations: 0 / 1.377 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.468, allocations: 0 / 1.377 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/1.468, allocations: 48.41 kB / 1.377 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.468, allocations: 3.938 kB / 1.377 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/1.468, allocations: 27.75 kB / 1.377 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/1.468, allocations: 13.02 kB / 1.377 GB, free: 30.64 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001047/1.468, allocations: 112.2 kB / 1.378 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002276/1.468, allocations: 168.6 kB / 1.378 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/1.468, allocations: 34.94 kB / 1.378 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/1.469, allocations: 178.3 kB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.469, allocations: 3.875 kB / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.469, allocations: 0 / 1.378 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.469, allocations: 7.984 kB / 1.378 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/1.469, allocations: 278.6 kB / 1.378 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.469, allocations: 0 / 1.378 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/1.469, allocations: 22.11 kB / 1.378 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/1.469, allocations: 3.953 kB / 1.378 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/1.469, allocations: 3.5 kB / 1.378 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.469, allocations: 3.906 kB / 1.378 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.469, allocations: 0 / 1.378 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/1.469, allocations: 194.3 kB / 1.378 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/1.469, allocations: 123.9 kB / 1.378 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/1.47, allocations: 12.98 kB / 1.379 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/1.47, allocations: 15.84 kB / 1.379 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/1.47, allocations: 16.67 kB / 1.379 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/1.47, allocations: 7.016 kB / 1.379 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003123/1.47, allocations: 316.7 kB / 1.379 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.47, allocations: 4 kB / 1.379 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003325/1.47, allocations: 67.95 kB / 1.379 GB, free: 29.92 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: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001298/1.472, allocations: 0.9931 MB / 1.38 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002811/1.472, allocations: 182.8 kB / 1.38 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/1.472, allocations: 3.844 kB / 1.38 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/1.472, allocations: 51.2 kB / 1.38 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/1.473, allocations: 88.52 kB / 1.38 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/1.474, allocations: 0.5381 MB / 1.381 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/1.474, allocations: 0.8024 MB / 1.382 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001594/1.474, allocations: 55.06 kB / 1.382 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/1.474, allocations: 118.1 kB / 1.382 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.474, allocations: 0 / 1.382 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/1.501, allocations: 6.725 MB / 1.388 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/1.501, allocations: 182.3 kB / 1.388 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/3.52, allocations: 0 / 1.388 GB, free: 25.22 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat does not exist to compare? outputFormat=mat