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: 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.001013/0.001013, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01139/0.01139, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.526/1.526, allocations: 223.2 MB / 240.3 MB, free: 5.336 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.45/2.45, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.821/0.8214, allocations: 142.4 MB / 0.9551 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00108/0.8225, allocations: 0.5238 MB / 0.9556 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.8242, allocations: 1.154 MB / 0.9567 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.8243, allocations: 1.5 kB / 0.9567 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.8243, allocations: 0 / 0.9567 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.651e-05/0.8244, allocations: 13.23 kB / 0.9567 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.8249, allocations: 126 kB / 0.9568 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.8251, allocations: 132.6 kB / 0.9569 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.8252, allocations: 32.45 kB / 0.957 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.8254, allocations: 46.33 kB / 0.957 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.629e-05/0.8255, allocations: 38.86 kB / 0.9571 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.8255, allocations: 6.688 kB / 0.9571 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.041e-05/0.8256, allocations: 23.36 kB / 0.9571 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.8256, allocations: 15.47 kB / 0.9571 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.8257, allocations: 67.05 kB / 0.9572 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.8259, allocations: 135.7 kB / 0.9573 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8259, allocations: 4 kB / 0.9573 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8259, allocations: 1.062 kB / 0.9573 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.8259, allocations: 0 / 0.9573 GB, free: 6.023 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.0005815/0.8265, allocations: 413.4 kB / 0.9577 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.8266, allocations: 9.688 kB / 0.9577 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.8266, allocations: 11.16 kB / 0.9577 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.8268, allocations: 188.5 kB / 0.9579 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.8268, allocations: 12.56 kB / 0.9579 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.8268, allocations: 8.969 kB / 0.9579 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.8271, allocations: 93.05 kB / 0.958 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.8271, allocations: 192 / 0.958 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.8271, allocations: 5.438 kB / 0.958 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.8271, allocations: 1.344 kB / 0.958 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.8274, allocations: 76.95 kB / 0.9581 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.8279, allocations: 383.5 kB / 0.9585 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.8281, allocations: 59.45 kB / 0.9585 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.8282, allocations: 35.88 kB / 0.9585 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.8283, allocations: 3.984 kB / 0.9585 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.8285, allocations: 91.2 kB / 0.9586 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.8285, allocations: 0 / 0.9586 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004476/0.8289, allocations: 144.3 kB / 0.9588 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.829, allocations: 52.56 kB / 0.9588 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.8291, allocations: 133.7 kB / 0.9589 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.8291, allocations: 29.2 kB / 0.959 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.8292, allocations: 101.5 kB / 0.9591 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.8292, allocations: 21.62 kB / 0.9591 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.8292, allocations: 19.31 kB / 0.9591 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.288e-05/0.8293, allocations: 316.6 kB / 0.9594 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.8295, allocations: 56.28 kB / 0.9595 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.8296, allocations: 86.89 kB / 0.9596 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.8299, allocations: 129.7 kB / 0.9597 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8299, allocations: 0 / 0.9597 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004012/0.8303, allocations: 203.2 kB / 0.9599 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.8304, allocations: 36.64 kB / 0.9599 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.8304, allocations: 1.375 kB / 0.9599 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.8304, allocations: 0 / 0.9599 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.8305, allocations: 13.61 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.8305, allocations: 0 / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.8308, allocations: 71.84 kB / 0.96 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.8308, allocations: 9.438 kB / 0.96 GB, free: 3.617 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 8.337e-05/0.8309, allocations: 120.7 kB / 0.9601 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.8309, allocations: 2.75 kB / 0.9601 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.8309, allocations: 13.73 kB / 0.9601 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8309, allocations: 5.375 kB / 0.9601 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.831, allocations: 0 / 0.9601 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.831, allocations: 3.938 kB / 0.9601 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.8311, allocations: 194.3 kB / 0.9603 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8311, allocations: 0 / 0.9603 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.8312, allocations: 16.23 kB / 0.9603 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.8312, allocations: 0 / 0.9603 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.8312, allocations: 1.375 kB / 0.9603 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8312, allocations: 176 / 0.9603 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.8312, allocations: 13.28 kB / 0.9604 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.8315, allocations: 135.8 kB / 0.9605 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.8315, allocations: 82.39 kB / 0.9606 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.8316, allocations: 5.359 kB / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.8316, allocations: 21.61 kB / 0.9606 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.8317, allocations: 13.42 kB / 0.9606 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.8317, allocations: 1.375 kB / 0.9606 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.8318, allocations: 100.9 kB / 0.9607 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8318, allocations: 0 / 0.9607 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002307/0.832, allocations: 25.94 kB / 0.9607 GB, free: 2.918 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.0001436/0.8321, allocations: 106.4 kB / 0.9608 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003859/0.8325, allocations: 177.1 kB / 0.961 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8326, allocations: 0 / 0.961 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.8327, allocations: 45.47 kB / 0.961 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.8329, allocations: 10.38 kB / 0.961 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.8333, allocations: 214 kB / 0.9612 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.8334, allocations: 0.6959 MB / 0.9619 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.655e-05/0.8335, allocations: 4 kB / 0.9619 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.8335, allocations: 10.56 kB / 0.9619 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/0.8335, allocations: 0 / 0.9619 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of Templates: time 0.004534/0.8381, allocations: 1.456 MB / 0.9634 GB, free: 1.047 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/jenkins/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