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.518/2.518, 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.001197/0.001197, allocations: 176 kB / 0.4901 GB, free: 2.219 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.738/1.738, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0008926/0.0008926, allocations: 100.2 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003703, allocations: 13.97 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3072, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2325/0.5397, allocations: 154.1 MB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.5401, allocations: 79.95 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04691/0.587, allocations: 11.46 MB / 1.391 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.925e-06/0.5871, allocations: 224 / 1.391 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.783e-05/0.5871, allocations: 15.92 kB / 1.391 GB, free: 3.672 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001554/0.5887, allocations: 0.662 MB / 1.392 GB, free: 2.953 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.5888, allocations: 8.562 kB / 1.392 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.315e-05/0.5889, allocations: 46.55 kB / 1.392 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.589, allocations: 39.48 kB / 1.392 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.5903, allocations: 437.2 kB / 1.392 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.5903, allocations: 12.12 kB / 1.392 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.5904, allocations: 12 kB / 1.392 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.5908, allocations: 126.3 kB / 1.392 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.5908, allocations: 4 kB / 1.392 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.5908, allocations: 4 kB / 1.392 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.5909, allocations: 0 / 1.392 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.5911, allocations: 76.45 kB / 1.392 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.5926, allocations: 0.5753 MB / 1.393 GB, free: 1.531 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.5931, allocations: 138.6 kB / 1.393 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.5931, allocations: 0 / 1.393 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.5935, allocations: 119.4 kB / 1.393 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 2.275e-06/0.5935, allocations: 0 / 1.393 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.0007474/0.5943, allocations: 209.2 kB / 1.393 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.5943, allocations: 55.41 kB / 1.394 GB, free: 0.9805 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009546/0.5953, allocations: 492.7 kB / 1.394 GB, free: 0.4922 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.5954, allocations: 33.7 kB / 1.394 GB, free: 464 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.5956, allocations: 180.4 kB / 1.394 GB, free: 280 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.5956, allocations: 39.53 kB / 1.394 GB, free: 240 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.5957, allocations: 8 kB / 1.394 GB, free: 232 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.5959, allocations: 350.8 kB / 1.395 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.5963, allocations: 116.5 kB / 1.395 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.5967, allocations: 168.4 kB / 1.395 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.5971, allocations: 124.5 kB / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5971, allocations: 0 / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001023/0.5981, allocations: 366 kB / 1.395 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.5982, allocations: 8 kB / 1.395 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5982, allocations: 0 / 1.395 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.5982, allocations: 0 / 1.395 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.5986, allocations: 47.92 kB / 1.395 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.5986, allocations: 4 kB / 1.395 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.5989, allocations: 31.94 kB / 1.395 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.599, allocations: 19.98 kB / 1.395 GB, free: 14.99 MB / 0.9011 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 () * Number of clocked 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.0003258/0.5993, allocations: 185.7 kB / 1.396 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/0.5994, allocations: 35.58 kB / 1.396 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006222/0.6001, allocations: 192.5 kB / 1.396 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.6001, allocations: 0 / 1.396 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.6001, allocations: 4 kB / 1.396 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6001, allocations: 4 kB / 1.396 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.6006, allocations: 321.3 kB / 1.396 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.6006, allocations: 0 / 1.396 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.6007, allocations: 19.86 kB / 1.396 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.6007, allocations: 3.953 kB / 1.396 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.6008, allocations: 8 kB / 1.396 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.6008, allocations: 4 kB / 1.396 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6008, allocations: 0 / 1.396 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.6013, allocations: 212.7 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.6015, allocations: 120.6 kB / 1.396 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/0.6016, allocations: 11.94 kB / 1.396 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.6018, allocations: 15.98 kB / 1.396 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.602, allocations: 19.97 kB / 1.397 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.602, allocations: 7.938 kB / 1.397 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006307/0.6027, allocations: 343 kB / 1.397 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6027, allocations: 0 / 1.397 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006065/0.6033, allocations: 75.84 kB / 1.397 GB, free: 13.34 MB / 0.9011 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) * Number of clocked states: 0 () * 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.002517/0.6058, allocations: 1.067 MB / 1.398 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006194/0.6065, allocations: 203.8 kB / 1.398 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6065, allocations: 0 / 1.398 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.6067, allocations: 63.91 kB / 1.398 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.6074, allocations: 81.39 kB / 1.398 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.6095, allocations: 1.254 MB / 1.4 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.6101, allocations: 0.8106 MB / 1.4 GB, free: 9.914 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.6103, allocations: 54.92 kB / 1.4 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.6106, allocations: 119.3 kB / 1.4 GB, free: 9.742 MB / 0.9011 GB Notification: Performance of SimCode: time 4.51e-07/0.6106, allocations: 4 kB / 1.4 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.6404, allocations: 7.269 MB / 1.408 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/0.6408, allocations: 230.1 kB / 1.408 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/2.98, allocations: 0 / 1.408 GB, free: 2.398 MB / 0.9011 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