Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007158/0.007158, allocations: 101.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 201.5 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.197/2.197, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 70.86 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2617, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001992/0.2638, allocations: 0.8761 MB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009926/0.2648, allocations: 0.8754 MB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.2649, allocations: 0 / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.197e-05/0.2649, allocations: 11.86 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.785e-05/0.265, allocations: 11.81 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.2652, allocations: 47.88 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.2654, allocations: 103.7 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.2655, allocations: 41.09 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.2656, allocations: 51.88 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.729e-05/0.2657, allocations: 55.66 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.2658, allocations: 8 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.928e-05/0.2658, allocations: 12 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.2658, allocations: 19.92 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.2659, allocations: 47.73 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.2661, allocations: 122.4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2661, allocations: 4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2661, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2661, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 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.0008684/0.267, allocations: 465.7 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.267, allocations: 12.03 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.267, allocations: 42.67 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.2671, allocations: 20.69 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.2672, allocations: 176.2 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2673, allocations: 12.31 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.2673, allocations: 12.36 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.2675, allocations: 94.2 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2675, allocations: 3.938 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.2676, allocations: 4 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.2676, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.2678, allocations: 67.89 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007654/0.2685, allocations: 404.4 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.2687, allocations: 62.56 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/0.2688, allocations: 32.97 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2688, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.2689, allocations: 30.56 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.2689, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003756/0.2692, allocations: 117.7 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.2693, allocations: 59.34 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.2695, allocations: 157 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.2695, allocations: 29.7 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.2696, allocations: 100.1 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.2696, allocations: 15.94 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.2696, allocations: 21.72 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2698, allocations: 322.8 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.058e-05/0.2699, allocations: 32.05 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/0.2699, allocations: 35.97 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2701, allocations: 44.98 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2701, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002082/0.2703, allocations: 101.5 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2703, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2703, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2704, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.2705, allocations: 11.98 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2705, allocations: 7.875 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.2707, allocations: 27.81 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2707, allocations: 8 kB / 1.092 GB, free: 13.01 MB / 0.8575 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.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.2708, allocations: 119.3 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.2708, allocations: 7.906 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.2709, allocations: 20.3 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2709, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2709, allocations: 3.938 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2709, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.2711, allocations: 197.6 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2711, allocations: 3.938 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.2712, allocations: 11.92 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2712, allocations: 8 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.2712, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2712, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2712, allocations: 3.938 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.2715, allocations: 183.4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.2715, allocations: 81.02 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.2716, allocations: 8 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.2718, allocations: 23.97 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.2719, allocations: 23.89 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.2719, allocations: 4.062 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.017e-05/0.272, allocations: 117.3 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.272, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002281/0.2722, allocations: 15.94 kB / 1.093 GB, free: 12.1 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005323/0.2727, allocations: 0.7318 MB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.273, allocations: 71.89 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.273, allocations: 4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.177e-05/0.2731, allocations: 31.98 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.2734, allocations: 15.92 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.2753, allocations: 1.58 MB / 1.095 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.2756, allocations: 0.7002 MB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.247e-05/0.2756, allocations: 4 kB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.2757, allocations: 31.42 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of SimCode: time 6.41e-07/0.2757, allocations: 0 / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6769/0.9526, allocations: 2.764 MB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.842/8.795, allocations: 9.984 kB / 1.099 GB, free: 6.152 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches