Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.001372/0.001372, allocations: 108 kB / 15.6 MB, free: 132 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.00154/0.00154, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.433/2.433, allocations: 390.3 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6203/0.6218, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00179/0.6236, allocations: 0.743 MB / 0.9505 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.6248, allocations: 1.246 MB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.6248, allocations: 5.406 kB / 0.9517 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.6249, allocations: 7.875 kB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.625, allocations: 17.16 kB / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005814/0.6256, allocations: 244.1 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.6258, allocations: 264.3 kB / 0.9522 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.6259, allocations: 15.83 kB / 0.9522 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.707e-05/0.626, allocations: 105.1 kB / 0.9523 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.6261, allocations: 82.08 kB / 0.9524 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.6261, allocations: 23.84 kB / 0.9524 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.6262, allocations: 40.7 kB / 0.9524 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.6263, allocations: 31.41 kB / 0.9525 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.927e-05/0.6264, allocations: 96 kB / 0.9526 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.6266, allocations: 220 kB / 0.9528 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.6266, allocations: 4 kB / 0.9528 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6266, allocations: 0.875 kB / 0.9528 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.6266, allocations: 0 / 0.9528 GB, free: 6.867 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005668/0.6272, allocations: 0.4916 MB / 0.9533 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.6272, allocations: 9.344 kB / 0.9533 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/0.6272, allocations: 41.27 kB / 0.9533 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.6273, allocations: 21.62 kB / 0.9533 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.6279, allocations: 252.3 kB / 0.9536 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.6279, allocations: 13.28 kB / 0.9536 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.628, allocations: 24.39 kB / 0.9536 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.6282, allocations: 138.1 kB / 0.9537 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.6282, allocations: 3.938 kB / 0.9537 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.6282, allocations: 6.719 kB / 0.9538 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.6282, allocations: 5.156 kB / 0.9538 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.6283, allocations: 62.39 kB / 0.9538 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006274/0.629, allocations: 0.5092 MB / 0.9543 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.6292, allocations: 162.4 kB / 0.9545 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.6293, allocations: 66.19 kB / 0.9545 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.6293, allocations: 2.281 kB / 0.9545 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.6296, allocations: 209.3 kB / 0.9547 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.6296, allocations: 0 / 0.9547 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0004925/0.6301, allocations: 304.4 kB / 0.955 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.6302, allocations: 90.7 kB / 0.9551 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.6302, allocations: 131 kB / 0.9552 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.6303, allocations: 41.61 kB / 0.9553 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.6303, allocations: 103.8 kB / 0.9554 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.6304, allocations: 47.33 kB / 0.9554 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.6305, allocations: 71.59 kB / 0.9555 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/0.6305, allocations: 329.2 kB / 0.9558 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.6307, allocations: 87.64 kB / 0.9559 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.6309, allocations: 149.7 kB / 0.956 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.6311, allocations: 258.4 kB / 0.9563 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.6311, allocations: 0 / 0.9563 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004994/0.6316, allocations: 355.5 kB / 0.9566 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.6317, allocations: 61.16 kB / 0.9567 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.6317, allocations: 6.812 kB / 0.9567 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.6317, allocations: 6.562 kB / 0.9567 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.6318, allocations: 21.11 kB / 0.9567 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6318, allocations: 10.59 kB / 0.9567 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.6322, allocations: 72.92 kB / 0.9568 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.6322, allocations: 17.19 kB / 0.9568 GB, free: 3.465 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001032/0.6323, allocations: 147.2 kB / 0.9569 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.6324, allocations: 11.66 kB / 0.957 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.6324, allocations: 22.81 kB / 0.957 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6324, allocations: 6.062 kB / 0.957 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.6324, allocations: 1.25 kB / 0.957 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6324, allocations: 0 / 0.957 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.6329, allocations: 0.6157 MB / 0.9576 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6329, allocations: 0 / 0.9576 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.633, allocations: 15.42 kB / 0.9576 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.633, allocations: 5.375 kB / 0.9576 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.633, allocations: 10.61 kB / 0.9576 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.633, allocations: 1.469 kB / 0.9576 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.633, allocations: 0 / 0.9576 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.6334, allocations: 422 kB / 0.958 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/0.6334, allocations: 85.14 kB / 0.9581 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.6334, allocations: 12.16 kB / 0.9581 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.6336, allocations: 16.05 kB / 0.9581 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.6337, allocations: 26.95 kB / 0.9581 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.6337, allocations: 8.25 kB / 0.9582 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.642e-05/0.6337, allocations: 100.4 kB / 0.9583 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6337, allocations: 0 / 0.9583 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003588/0.6341, allocations: 58.64 kB / 0.9583 GB, free: 2.223 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005467/0.6346, allocations: 0.9604 MB / 0.9592 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004625/0.6351, allocations: 362 kB / 0.9596 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6351, allocations: 4.062 kB / 0.9596 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.6353, allocations: 113.1 kB / 0.9597 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.6357, allocations: 31.88 kB / 0.9597 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.6381, allocations: 2.272 MB / 0.962 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.6384, allocations: 0.705 MB / 0.9626 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.742e-05/0.6385, allocations: 23.27 kB / 0.9627 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.6385, allocations: 36.98 kB / 0.9627 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.6386, allocations: 0 / 0.9627 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.6607, allocations: 4.054 MB / 0.9667 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.399, allocations: 6.406 kB / 0.9667 GB, free: 12.32 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches