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.001238/0.001238, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001274/0.001274, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.396/2.396, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7046/0.7058, allocations: 140.4 MB / 0.9489 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00183/0.7077, allocations: 0.8671 MB / 0.9498 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.7088, allocations: 1.162 MB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.7089, allocations: 1.375 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.7089, allocations: 4 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.815e-05/0.709, allocations: 13.23 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.7094, allocations: 130.9 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.7095, allocations: 120.2 kB / 0.9512 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.7096, allocations: 37.72 kB / 0.9512 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.665e-05/0.7097, allocations: 51.16 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.548e-05/0.7098, allocations: 50.8 kB / 0.9513 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.7098, allocations: 8.25 kB / 0.9513 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.334e-05/0.7099, allocations: 21.73 kB / 0.9513 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.7099, allocations: 16.05 kB / 0.9513 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.7099, allocations: 45.59 kB / 0.9514 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.7101, allocations: 147.1 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7101, allocations: 1.688 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.92e-07/0.7101, allocations: 0 / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.7101, allocations: 4 kB / 0.9515 GB, free: 7.336 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.0005101/0.7106, allocations: 433.6 kB / 0.9519 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.7107, allocations: 9.406 kB / 0.9519 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.7107, allocations: 11.38 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.116e-05/0.7108, allocations: 167.9 kB / 0.9521 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.7108, allocations: 4.625 kB / 0.9521 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.7109, allocations: 16.7 kB / 0.9521 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.7111, allocations: 88.34 kB / 0.9522 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.7111, allocations: 5.625 kB / 0.9522 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.7111, allocations: 3.938 kB / 0.9522 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.7111, allocations: 1.406 kB / 0.9522 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.7113, allocations: 60.41 kB / 0.9523 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.7118, allocations: 387.2 kB / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.7119, allocations: 55.33 kB / 0.9527 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.712, allocations: 34.8 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.712, allocations: 3.938 kB / 0.9528 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.7122, allocations: 81.81 kB / 0.9528 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.7123, allocations: 0 / 0.9528 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003932/0.7127, allocations: 126 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.7127, allocations: 60.52 kB / 0.953 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.7128, allocations: 122.2 kB / 0.9531 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.7128, allocations: 36.2 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.7128, allocations: 105.6 kB / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.7129, allocations: 14.66 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.7129, allocations: 40.28 kB / 0.9533 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.384e-05/0.713, allocations: 320.8 kB / 0.9536 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.7132, allocations: 51.8 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.7133, allocations: 76.91 kB / 0.9537 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.7135, allocations: 124.9 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7136, allocations: 0 / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003729/0.7139, allocations: 192.6 kB / 0.954 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.714, allocations: 40.31 kB / 0.9541 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.714, allocations: 1.438 kB / 0.9541 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.714, allocations: 1.469 kB / 0.9541 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/0.7141, allocations: 9.641 kB / 0.9541 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7141, allocations: 1.469 kB / 0.9541 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.7143, allocations: 42.86 kB / 0.9541 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.7144, allocations: 4.594 kB / 0.9541 GB, free: 4.93 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.11e-05/0.7144, allocations: 125.6 kB / 0.9543 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.7145, allocations: 10.56 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.7145, allocations: 10.31 kB / 0.9543 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7145, allocations: 1.094 kB / 0.9543 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7145, allocations: 0 / 0.9543 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7145, allocations: 3.938 kB / 0.9543 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.723e-05/0.7146, allocations: 190.3 kB / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7146, allocations: 4 kB / 0.9545 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.7147, allocations: 9.547 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.7147, allocations: 0.8438 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7147, allocations: 8.969 kB / 0.9545 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.7147, allocations: 0 / 0.9545 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7147, allocations: 1.062 kB / 0.9545 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.7149, allocations: 130.1 kB / 0.9546 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.715, allocations: 83.27 kB / 0.9547 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.715, allocations: 1.094 kB / 0.9547 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.7151, allocations: 10.3 kB / 0.9547 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.7151, allocations: 20.92 kB / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.7151, allocations: 1.156 kB / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.7152, allocations: 96.73 kB / 0.9548 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7152, allocations: 0 / 0.9548 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002169/0.7154, allocations: 28.91 kB / 0.9548 GB, free: 4.234 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.0001091/0.7155, allocations: 112.3 kB / 0.955 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.7159, allocations: 170.4 kB / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7159, allocations: 0 / 0.9551 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.716, allocations: 32.95 kB / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.7162, allocations: 15.78 kB / 0.9552 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.7165, allocations: 190.7 kB / 0.9553 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.7166, allocations: 0.6956 MB / 0.956 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.445e-05/0.7166, allocations: 7.453 kB / 0.956 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.7167, allocations: 13.75 kB / 0.956 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7167, allocations: 1.094 kB / 0.956 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of Templates: time 0.003483/0.7202, allocations: 1.465 MB / 0.9575 GB, free: 2.363 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