Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.48/2.48, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001235/0.001235, allocations: 187.8 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.723/1.723, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.001091/0.00109, allocations: 96.22 kB / 0.9396 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 7 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3173, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/0.5134, allocations: 150.8 MB / 1.377 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5137, allocations: 91.94 kB / 1.377 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005565/0.5193, allocations: 1.776 MB / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.918e-06/0.5193, allocations: 0 / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.5193, allocations: 7.938 kB / 1.378 GB, free: 0.7422 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000713/0.5201, allocations: 438.9 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.5201, allocations: 8.562 kB / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.5202, allocations: 42.56 kB / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.5202, allocations: 11.86 kB / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.5204, allocations: 179.6 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.5205, allocations: 8 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.5205, allocations: 8 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.5207, allocations: 93.53 kB / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5208, allocations: 7.984 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.5208, allocations: 7.953 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.5208, allocations: 8 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.521, allocations: 67.95 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.5218, allocations: 420.4 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.522, allocations: 62.56 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.522, allocations: 3.984 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.5221, allocations: 34.69 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 3.286e-06/0.5221, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.0003837/0.5225, allocations: 121.5 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.5225, allocations: 55.41 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.5227, allocations: 135.9 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.5227, allocations: 33.69 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.5228, allocations: 108.1 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.5228, allocations: 11.89 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-06/0.5228, allocations: 3.938 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.523, allocations: 328.7 kB / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.5231, allocations: 31.98 kB / 1.38 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.006e-05/0.5231, allocations: 31.98 kB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.553e-05/0.5232, allocations: 31.98 kB / 1.381 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5232, allocations: 0 / 1.381 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002192/0.5235, allocations: 109.4 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5235, allocations: 4 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.5235, allocations: 11.94 kB / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5235, allocations: 0 / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.773e-05/0.5236, allocations: 11.98 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.5236, allocations: 0 / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.5238, allocations: 31.97 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.5238, allocations: 240 / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001302/0.524, allocations: 130.6 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.524, allocations: 7.906 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.5241, allocations: 8.312 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5241, allocations: 4 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5241, allocations: 3.938 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5241, allocations: 0 / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.5243, allocations: 201.6 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5243, allocations: 4 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.5244, allocations: 11.98 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5244, allocations: 4 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.5244, allocations: 0 / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5244, allocations: 0 / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5245, allocations: 0 / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.5247, allocations: 191.7 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.5248, allocations: 88.97 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.5248, allocations: 4.062 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.525, allocations: 35.95 kB / 1.381 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.5251, allocations: 15.98 kB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.5251, allocations: 3.984 kB / 1.381 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.395e-05/0.5252, allocations: 121.3 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5252, allocations: 0 / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000227/0.5255, allocations: 12 kB / 1.382 GB, free: 13.18 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000577/0.526, allocations: 0.7365 MB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.5263, allocations: 79.89 kB / 1.382 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5263, allocations: 0 / 1.382 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.5264, allocations: 35.98 kB / 1.382 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.5267, allocations: 12.5 kB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.5281, allocations: 0.7081 MB / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.5285, allocations: 0.7004 MB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.05e-05/0.5286, allocations: 11.78 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.5287, allocations: 31.48 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of SimCode: time 3.71e-07/0.5287, allocations: 0 / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.5449, allocations: 2.244 MB / 1.386 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.5451, allocations: 198.8 kB / 1.386 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.471, allocations: 0 / 1.386 GB, free: 8.465 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat does not exist to compare? outputFormat=mat