Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.EquipmentOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_9_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.001277/0.001277, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.184/2.184, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5264/0.5277, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001763/0.5295, allocations: 0.8036 MB / 0.9505 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009646/0.5304, allocations: 1.161 MB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.5305, allocations: 1.406 kB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.5305, allocations: 3.938 kB / 0.9517 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.5306, allocations: 13.14 kB / 0.9517 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.531, allocations: 141.5 kB / 0.9518 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.5311, allocations: 142.8 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.5312, allocations: 33.84 kB / 0.952 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.5313, allocations: 67.95 kB / 0.952 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.5314, allocations: 47.73 kB / 0.9521 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.5314, allocations: 14.84 kB / 0.9521 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.828e-05/0.5315, allocations: 31.72 kB / 0.9521 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.5315, allocations: 14.55 kB / 0.9521 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.5316, allocations: 54.5 kB / 0.9522 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.5317, allocations: 152 kB / 0.9523 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5318, allocations: 1.656 kB / 0.9523 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5318, allocations: 3.938 kB / 0.9523 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5318, allocations: 0 / 0.9523 GB, free: 7.199 MB / 0.7169 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.0004681/0.5322, allocations: 437.2 kB / 0.9528 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.5323, allocations: 14.28 kB / 0.9528 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.536e-05/0.5323, allocations: 36.19 kB / 0.9528 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.5324, allocations: 11.78 kB / 0.9528 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.661e-05/0.5324, allocations: 176.5 kB / 0.953 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5324, allocations: 8.438 kB / 0.953 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.5325, allocations: 8.406 kB / 0.953 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.5327, allocations: 88.92 kB / 0.9531 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.5327, allocations: 3.938 kB / 0.9531 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5327, allocations: 1.281 kB / 0.9531 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5327, allocations: 1.25 kB / 0.9531 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.5329, allocations: 58.8 kB / 0.9531 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.5333, allocations: 388.7 kB / 0.9535 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.5335, allocations: 50.8 kB / 0.9536 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.276e-05/0.5336, allocations: 27.06 kB / 0.9536 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.5336, allocations: 3.938 kB / 0.9536 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.5338, allocations: 89.61 kB / 0.9537 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.5338, allocations: 1.156 kB / 0.9537 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003789/0.5342, allocations: 121.2 kB / 0.9538 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.5342, allocations: 56.72 kB / 0.9539 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.5343, allocations: 129.9 kB / 0.954 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.5343, allocations: 36.39 kB / 0.954 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.5343, allocations: 100.6 kB / 0.9541 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.5344, allocations: 22.3 kB / 0.9541 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.5344, allocations: 33.14 kB / 0.9542 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.5345, allocations: 321.3 kB / 0.9545 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.5346, allocations: 50.59 kB / 0.9545 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.5348, allocations: 82.7 kB / 0.9546 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.535, allocations: 115.4 kB / 0.9547 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.535, allocations: 4 kB / 0.9547 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003768/0.5354, allocations: 200.5 kB / 0.9549 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.5354, allocations: 32.92 kB / 0.9549 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5354, allocations: 5.234 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.5355, allocations: 1.344 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.5355, allocations: 10.27 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.5355, allocations: 5.438 kB / 0.955 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.5358, allocations: 42.2 kB / 0.955 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.5358, allocations: 13.61 kB / 0.955 GB, free: 4.734 MB / 0.7169 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 6.257e-05/0.5359, allocations: 118.5 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.5359, allocations: 6.938 kB / 0.9551 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.5359, allocations: 9.5 kB / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5359, allocations: 1.156 kB / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5359, allocations: 7.875 kB / 0.9551 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5359, allocations: 5.016 kB / 0.9551 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.69e-05/0.536, allocations: 189.2 kB / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.536, allocations: 0 / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.5361, allocations: 14.08 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5361, allocations: 0 / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.5361, allocations: 1.062 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5361, allocations: 1.094 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5361, allocations: 3.938 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.5364, allocations: 122.7 kB / 0.9555 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.5364, allocations: 82.02 kB / 0.9555 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.5364, allocations: 2.25 kB / 0.9555 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.5365, allocations: 12.8 kB / 0.9556 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.5365, allocations: 17.97 kB / 0.9556 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.5365, allocations: 1.25 kB / 0.9556 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.5366, allocations: 100.5 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5366, allocations: 1.219 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000213/0.5368, allocations: 28.81 kB / 0.9557 GB, free: 4.051 MB / 0.7169 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.0003828/0.5372, allocations: 0.6615 MB / 0.9563 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.5375, allocations: 170.7 kB / 0.9565 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5375, allocations: 9.062 kB / 0.9565 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.5377, allocations: 33.73 kB / 0.9565 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.5378, allocations: 21.27 kB / 0.9566 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.5393, allocations: 1.587 MB / 0.9581 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.472e-05/0.5394, allocations: 0.703 MB / 0.9588 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.5394, allocations: 2.906 kB / 0.9588 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.5395, allocations: 26.64 kB / 0.9588 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.5395, allocations: 0 / 0.9588 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.5569, allocations: 2.766 MB / 0.9615 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.568, allocations: 12.42 kB / 0.9615 GB, free: 15.66 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches