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.0072/0.0072, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.00168/0.00168, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.56/2.56, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6689/0.6702, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001693/0.672, allocations: 0.8086 MB / 1.088 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.673, allocations: 1.159 MB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.6731, allocations: 1.375 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.6731, allocations: 4.734 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.6732, allocations: 10.66 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.6737, allocations: 139.7 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.6738, allocations: 154.7 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.6739, allocations: 26.34 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.176e-05/0.674, allocations: 60.83 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.6741, allocations: 62.34 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.6742, allocations: 13.81 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.996e-05/0.6742, allocations: 29.28 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.6743, allocations: 21.88 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.809e-05/0.6743, allocations: 61.72 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.6746, allocations: 140.3 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6746, allocations: 0.6094 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6746, allocations: 0.6875 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.6746, allocations: 0 / 1.09 GB, free: 3.582 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005095/0.6751, allocations: 438.1 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.6751, allocations: 10.38 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.6752, allocations: 45.34 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.6752, allocations: 12.58 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.108e-05/0.6753, allocations: 174 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.6753, allocations: 4.375 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.6753, allocations: 17.5 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.6756, allocations: 82.12 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.6756, allocations: 9 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.6756, allocations: 0.5625 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.6756, allocations: 2.188 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.6758, allocations: 64.2 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.6763, allocations: 379.2 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.6764, allocations: 62.42 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.85e-05/0.6765, allocations: 27.19 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.6765, allocations: 1.125 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.6767, allocations: 81.7 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.6768, allocations: 0 / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004107/0.6772, allocations: 133 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.6772, allocations: 53.66 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.076e-05/0.6773, allocations: 131.1 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.6773, allocations: 29.38 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.6774, allocations: 100.2 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.6774, allocations: 10.98 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.6775, allocations: 42.75 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.616e-05/0.6775, allocations: 319.2 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.6777, allocations: 49.05 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.6779, allocations: 81.08 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.6781, allocations: 124.2 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6781, allocations: 0.7812 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004097/0.6785, allocations: 190.3 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.6786, allocations: 43.69 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.6786, allocations: 4.719 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6786, allocations: 1.359 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.6787, allocations: 13.17 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.6787, allocations: 5.422 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.6789, allocations: 43.78 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.679, allocations: 6.688 kB / 1.093 GB, free: 1.359 MB / 0.8575 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.565e-05/0.679, allocations: 121.7 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.6791, allocations: 8.172 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.6791, allocations: 10 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.6791, allocations: 0.9375 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6791, allocations: 5.391 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6791, allocations: 0.7031 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.6792, allocations: 183.2 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6792, allocations: 2.062 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.6793, allocations: 8.109 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6793, allocations: 0.8125 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.6793, allocations: 9.641 kB / 1.093 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6793, allocations: 4.969 kB / 1.093 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6793, allocations: 3.938 kB / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.6796, allocations: 124.8 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.6796, allocations: 83.98 kB / 1.093 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.6796, allocations: 2.484 kB / 1.093 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.6797, allocations: 9.266 kB / 1.093 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.6798, allocations: 21.5 kB / 1.093 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.6798, allocations: 2.656 kB / 1.093 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.6798, allocations: 92.19 kB / 1.093 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6798, allocations: 0 / 1.093 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002252/0.6801, allocations: 30.02 kB / 1.093 GB, free: 0.7266 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: 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.0004568/0.6805, allocations: 0.6635 MB / 1.094 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.6809, allocations: 164.7 kB / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6809, allocations: 0 / 1.094 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.681, allocations: 43.58 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.6812, allocations: 25.31 kB / 1.094 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.6831, allocations: 1.599 MB / 1.096 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.6834, allocations: 0.691 MB / 1.097 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.6834, allocations: 8.656 kB / 1.097 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.6835, allocations: 25.91 kB / 1.097 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.6835, allocations: 0 / 1.097 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.7023, allocations: 2.799 MB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.81, allocations: 15.58 kB / 1.099 GB, free: 13.47 MB / 0.8731 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