Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.EquipmentOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_10_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.005576/0.005576, allocations: 97.62 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.001566/0.001566, allocations: 198 kB / 16.68 MB, free: 5.969 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.431/1.431, 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 10.1.1-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 59.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2648, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001963/0.2668, allocations: 0.7994 MB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2683, allocations: 1.163 MB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.2684, allocations: 0 / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.2684, allocations: 3.938 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.2685, allocations: 15.86 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.269, allocations: 143.2 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.2692, allocations: 155.7 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2693, allocations: 23.98 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.604e-05/0.2694, allocations: 63.88 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.2695, allocations: 59.81 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.2696, allocations: 12 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.2696, allocations: 27.98 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.2697, allocations: 23.91 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.2698, allocations: 55.78 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.27, allocations: 151.8 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.27, allocations: 0 / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.146e-06/0.27, allocations: 3.938 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.27, allocations: 3.938 kB / 1.169 GB, free: 4.531 MB / 0.92 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.00064/0.2707, allocations: 436.8 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.2707, allocations: 8.031 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.2707, allocations: 38.75 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.2708, allocations: 12.89 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2709, allocations: 176.3 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2709, allocations: 4.375 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.271, allocations: 12.38 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.2712, allocations: 82.2 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2712, allocations: 7.938 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2713, allocations: 7.938 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2713, allocations: 0 / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.2715, allocations: 63.94 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.2721, allocations: 376.5 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.2722, allocations: 58.56 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.2724, allocations: 28.92 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.2724, allocations: 0 / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.2726, allocations: 87.36 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.2726, allocations: 0 / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004507/0.2731, allocations: 133.5 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2731, allocations: 51.41 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.2733, allocations: 125.7 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.2733, allocations: 41.62 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.2734, allocations: 96.08 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.2734, allocations: 15.91 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/0.2735, allocations: 45.69 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2736, allocations: 314.8 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.2738, allocations: 51.95 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.274, allocations: 83.33 kB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.2743, allocations: 120.2 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2743, allocations: 4 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004406/0.2747, allocations: 187.2 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.2748, allocations: 41.69 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2748, allocations: 0 / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2748, allocations: 64 / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.2749, allocations: 19.92 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2749, allocations: 3.938 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.2752, allocations: 39.89 kB / 1.171 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.2752, allocations: 4 kB / 1.171 GB, free: 1.527 MB / 0.92 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 0.0001051/0.2753, allocations: 125.8 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.2753, allocations: 11.95 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.2754, allocations: 8.375 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2754, allocations: 0 / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2754, allocations: 3.938 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2754, allocations: 4 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.2756, allocations: 189.6 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2756, allocations: 0 / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.2756, allocations: 7.984 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2756, allocations: 0 / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.2756, allocations: 0 / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2757, allocations: 8 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2757, allocations: 4.25 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.276, allocations: 129 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.276, allocations: 85.06 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.276, allocations: 4 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.2761, allocations: 7.984 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.2762, allocations: 19.92 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.2762, allocations: 4 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.377e-05/0.2763, allocations: 95.64 kB / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.933e-06/0.2763, allocations: 0 / 1.172 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000229/0.2765, allocations: 35.97 kB / 1.172 GB, free: 0.7031 MB / 0.92 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.0006083/0.2771, allocations: 0.667 MB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.2775, allocations: 163.3 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2776, allocations: 0 / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2777, allocations: 43.91 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.2779, allocations: 25.83 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.28, allocations: 1.587 MB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.2803, allocations: 0.6963 MB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.2803, allocations: 7.984 kB / 1.175 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.2804, allocations: 27.42 kB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.2804, allocations: 0 / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.3033, allocations: 2.807 MB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/8.018, allocations: 6.438 kB / 1.178 GB, free: 10.67 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches