Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.001275/0.001275, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001321/0.001321, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 60.89 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2659, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002193/0.2682, allocations: 0.8631 MB / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.2696, allocations: 1.166 MB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.2697, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.2697, allocations: 3.938 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.2698, allocations: 11.92 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.2703, allocations: 130.8 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.2705, allocations: 139.8 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2706, allocations: 31.98 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.2707, allocations: 63.81 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.866e-05/0.2708, allocations: 47.83 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.2709, allocations: 19.94 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.271, allocations: 31.98 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.271, allocations: 23.91 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.2711, allocations: 55.72 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.2713, allocations: 147.8 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2713, allocations: 4 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2713, allocations: 4 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2713, allocations: 0 / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006005/0.2719, allocations: 421 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.272, allocations: 12.62 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.272, allocations: 38.73 kB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.2721, allocations: 12.84 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2722, allocations: 176.2 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.2722, allocations: 8.375 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.2722, allocations: 12.38 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.2725, allocations: 94.14 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2725, allocations: 7.922 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.2725, allocations: 0 / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2725, allocations: 4 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.2727, allocations: 55.95 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.2732, allocations: 388.5 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.2734, allocations: 50.55 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.2735, allocations: 28.94 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.2735, allocations: 4 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.2738, allocations: 87.3 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.2738, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004054/0.2742, allocations: 125.5 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.2742, allocations: 55.41 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.2743, allocations: 137.6 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.2744, allocations: 25.7 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.2744, allocations: 107.9 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.2745, allocations: 7.891 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.376e-05/0.2745, allocations: 37.7 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.2746, allocations: 322.8 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.2748, allocations: 47.97 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.275, allocations: 87.33 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.2753, allocations: 112.2 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2753, allocations: 4.031 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00041/0.2757, allocations: 187.2 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.2757, allocations: 41.64 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2757, allocations: 0 / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2758, allocations: 4 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.2759, allocations: 11.92 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.2759, allocations: 7.938 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.2761, allocations: 40 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.2761, allocations: 12 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.415e-05/0.2762, allocations: 121.8 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.2763, allocations: 3.906 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.2763, allocations: 12.38 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2763, allocations: 3.984 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2763, allocations: 3.938 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2763, allocations: 4 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2765, allocations: 185.6 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2765, allocations: 0 / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/0.2765, allocations: 11.98 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2766, allocations: 320 / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2766, allocations: 0 / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2766, allocations: 7.938 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2766, allocations: 3.938 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.2768, allocations: 125 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.2769, allocations: 85.02 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.2769, allocations: 3.984 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.168e-05/0.277, allocations: 11.98 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.2771, allocations: 19.86 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.2771, allocations: 0 / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.724e-05/0.2771, allocations: 95.27 kB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2771, allocations: 4 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000225/0.2774, allocations: 24 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005483/0.2779, allocations: 0.6631 MB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.2783, allocations: 179.3 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2783, allocations: 0 / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.2784, allocations: 35.97 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.2786, allocations: 15.88 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.2805, allocations: 1.614 MB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.2807, allocations: 0.6963 MB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.2807, allocations: 4 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.2808, allocations: 23.42 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.2808, allocations: 4 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8609/1.142, allocations: 2.581 MB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/1.142, allocations: 232.6 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.797, allocations: 0 / 1.064 GB, free: 12.07 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches