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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009485/0.0009484, allocations: 92.7 kB / 16.02 MB, free: 80 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.001391/0.001391, allocations: 178.8 kB / 16.92 MB, free: 6.652 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.549/1.549, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.582/2.582, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003801, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/0.81, allocations: 142.4 MB / 0.9557 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.0009205/0.811, allocations: 0.5254 MB / 0.9562 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.8124, allocations: 1.156 MB / 0.9574 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.8124, allocations: 2.094 kB / 0.9574 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.8124, allocations: 3.938 kB / 0.9574 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.282e-05/0.8125, allocations: 12.94 kB / 0.9574 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.813, allocations: 130 kB / 0.9575 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.8131, allocations: 129.5 kB / 0.9576 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.8132, allocations: 24.7 kB / 0.9576 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.8133, allocations: 44.45 kB / 0.9577 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.69e-05/0.8134, allocations: 43.75 kB / 0.9577 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.8135, allocations: 10.34 kB / 0.9577 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.8135, allocations: 24.02 kB / 0.9578 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.8136, allocations: 15.33 kB / 0.9578 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.8136, allocations: 70.73 kB / 0.9578 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.8138, allocations: 108 kB / 0.9579 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8138, allocations: 1.125 kB / 0.9579 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8138, allocations: 0 / 0.9579 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.8138, allocations: 0 / 0.9579 GB, free: 5.902 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.000516/0.8143, allocations: 418.7 kB / 0.9583 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.8144, allocations: 8.906 kB / 0.9584 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.8144, allocations: 11.31 kB / 0.9584 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.658e-05/0.8145, allocations: 172.5 kB / 0.9585 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.8145, allocations: 7.75 kB / 0.9585 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.8146, allocations: 9.75 kB / 0.9585 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.8148, allocations: 96.83 kB / 0.9586 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.8148, allocations: 4.188 kB / 0.9586 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.8148, allocations: 11.56 kB / 0.9587 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.8149, allocations: 0 / 0.9587 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.8151, allocations: 68.34 kB / 0.9587 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.8156, allocations: 387.2 kB / 0.9591 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.8157, allocations: 56.08 kB / 0.9591 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.8159, allocations: 39.12 kB / 0.9592 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.8159, allocations: 1.219 kB / 0.9592 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.8161, allocations: 89.89 kB / 0.9593 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.8161, allocations: 4 kB / 0.9593 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004117/0.8165, allocations: 141.6 kB / 0.9594 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.8166, allocations: 57.38 kB / 0.9595 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.492e-05/0.8167, allocations: 127.9 kB / 0.9596 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.8167, allocations: 32.86 kB / 0.9596 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.8167, allocations: 97.19 kB / 0.9597 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.8168, allocations: 18.88 kB / 0.9597 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.8168, allocations: 23.73 kB / 0.9597 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.215e-05/0.8169, allocations: 316.4 kB / 0.96 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.817, allocations: 59.39 kB / 0.9601 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.8172, allocations: 82.38 kB / 0.9602 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.8174, allocations: 129.8 kB / 0.9603 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8174, allocations: 1.75 kB / 0.9603 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003942/0.8178, allocations: 205.4 kB / 0.9605 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.8179, allocations: 42.12 kB / 0.9605 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.8179, allocations: 1.375 kB / 0.9605 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.8179, allocations: 1.438 kB / 0.9605 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.2e-05/0.818, allocations: 16.19 kB / 0.9606 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.818, allocations: 5.359 kB / 0.9606 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.8183, allocations: 60.92 kB / 0.9606 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.8183, allocations: 5.5 kB / 0.9606 GB, free: 3.504 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 7.78e-05/0.8184, allocations: 124.7 kB / 0.9607 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.8184, allocations: 12.05 kB / 0.9608 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.8184, allocations: 9.75 kB / 0.9608 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.8185, allocations: 0 / 0.9608 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8185, allocations: 1.375 kB / 0.9608 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8185, allocations: 3.938 kB / 0.9608 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.8186, allocations: 188.7 kB / 0.961 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8186, allocations: 1.375 kB / 0.961 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.8186, allocations: 6.875 kB / 0.961 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8187, allocations: 1.375 kB / 0.961 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.8187, allocations: 13.36 kB / 0.961 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8187, allocations: 0 / 0.961 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8187, allocations: 4.016 kB / 0.961 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.8189, allocations: 135.9 kB / 0.9611 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.819, allocations: 83.77 kB / 0.9612 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.819, allocations: 1.375 kB / 0.9612 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.8191, allocations: 13.61 kB / 0.9612 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.8191, allocations: 16.05 kB / 0.9612 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.8191, allocations: 2.75 kB / 0.9612 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.8192, allocations: 97.33 kB / 0.9613 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8192, allocations: 4 kB / 0.9613 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002191/0.8194, allocations: 24.56 kB / 0.9613 GB, free: 2.816 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.0001179/0.8195, allocations: 111.9 kB / 0.9614 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.8199, allocations: 180.2 kB / 0.9616 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8199, allocations: 0 / 0.9616 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.82, allocations: 46.03 kB / 0.9617 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.8203, allocations: 12.23 kB / 0.9617 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.8206, allocations: 237.9 kB / 0.9619 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.933e-05/0.8207, allocations: 0.6905 MB / 0.9626 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.8208, allocations: 19.11 kB / 0.9626 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.8208, allocations: 0 / 0.9626 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of Templates: time 0.002922/0.8237, allocations: 1.328 MB / 0.9639 GB, free: 0.9727 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (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 & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/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