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.449/2.449, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001522/0.001523, allocations: 180.9 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.834/1.834, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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: 87.89 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.066e-05/4.076e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3527, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.173/1.526, allocations: 150.7 MB / 1.366 GB, free: 3.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/1.526, allocations: 84 kB / 1.366 GB, free: 3.289 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00603/1.532, allocations: 1.778 MB / 1.368 GB, free: 1.719 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.096e-06/1.532, allocations: 0 / 1.368 GB, free: 1.719 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.504e-05/1.532, allocations: 4 kB / 1.368 GB, free: 1.715 MB / 0.823 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.0007478/1.533, allocations: 430 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/1.533, allocations: 12.03 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.178e-05/1.533, allocations: 37.56 kB / 1.368 GB, free: 1.203 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.758e-05/1.533, allocations: 26.7 kB / 1.368 GB, free: 1.18 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/1.533, allocations: 168.2 kB / 1.368 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/1.533, allocations: 6.812 kB / 1.369 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/1.534, allocations: 4 kB / 1.369 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/1.534, allocations: 87.72 kB / 1.369 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.534, allocations: 0 / 1.369 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/1.534, allocations: 3.953 kB / 1.369 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/1.534, allocations: 4 kB / 1.369 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/1.534, allocations: 46.44 kB / 1.369 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/1.535, allocations: 422.7 kB / 1.369 GB, free: 456 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/1.535, allocations: 51.33 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/1.535, allocations: 20.36 kB / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/1.535, allocations: 0 / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/1.535, allocations: 42.69 kB / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/1.535, allocations: 0 / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of matching and sorting (n=5): time 0.0002589/1.535, allocations: 70.84 kB / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/1.535, allocations: 55.39 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/1.536, allocations: 141.5 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/1.536, allocations: 25.7 kB / 1.369 GB, free: 40 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.536, allocations: 104.5 kB / 1.37 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/1.536, allocations: 15.12 kB / 1.37 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-06/1.536, allocations: 1.969 kB / 1.37 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.536, allocations: 329.2 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.938e-05/1.536, allocations: 22.06 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.306e-05/1.536, allocations: 18.56 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.649e-05/1.536, allocations: 18.97 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.536, allocations: 0 / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001537/1.536, allocations: 78.27 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/1.536, allocations: 4 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.536, allocations: 4.234 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.536, allocations: 3.938 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/1.537, allocations: 12 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.537, allocations: 3.984 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/1.537, allocations: 35.02 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/1.537, allocations: 0 / 1.37 GB, free: 15.44 MB / 0.8386 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 () * 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 9.988e-05/1.537, allocations: 116.9 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/1.537, allocations: 7.906 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/1.537, allocations: 14.53 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/1.537, allocations: 0 / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.537, allocations: 224 / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.537, allocations: 0 / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/1.537, allocations: 210.2 kB / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.537, allocations: 0 / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.44e-05/1.537, allocations: 15.98 kB / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/1.537, allocations: 0 / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/1.537, allocations: 0 / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/1.537, allocations: 0 / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.537, allocations: 3.938 kB / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/1.538, allocations: 171.7 kB / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/1.538, allocations: 88.02 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/1.538, allocations: 0 / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/1.538, allocations: 31.97 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/1.538, allocations: 19.03 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/1.538, allocations: 0 / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.761e-05/1.538, allocations: 119.4 kB / 1.371 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.538, allocations: 4 kB / 1.371 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000222/1.538, allocations: 19.94 kB / 1.371 GB, free: 14.61 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * 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.0005183/1.539, allocations: 0.7107 MB / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001507/1.539, allocations: 45.81 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.539, allocations: 0 / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.933e-05/1.539, allocations: 27.38 kB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/1.539, allocations: 11.3 kB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/1.54, allocations: 155.9 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/1.54, allocations: 0.7004 MB / 1.372 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.058e-05/1.54, allocations: 15.77 kB / 1.372 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.974e-05/1.54, allocations: 27.38 kB / 1.372 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of SimCode: time 2.264e-06/1.54, allocations: 0 / 1.372 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/1.558, allocations: 2.246 MB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/1.559, allocations: 170.5 kB / 1.375 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/3.373, allocations: 0 / 1.375 GB, free: 10.62 MB / 0.8386 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