Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.903/2.903, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 1.109 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9115/0.9135, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002076/0.9155, allocations: 0.7434 MB / 1.275 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.9177, allocations: 1.265 MB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.9178, allocations: 4 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.9178, allocations: 3.938 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.9179, allocations: 27.78 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.9188, allocations: 257.7 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.9192, allocations: 251.6 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.9193, allocations: 8.234 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.9195, allocations: 107.8 kB / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.9197, allocations: 91.73 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.9197, allocations: 28 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.992e-05/0.9198, allocations: 32 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.9199, allocations: 35.89 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.92, allocations: 87.75 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.9204, allocations: 226 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.9204, allocations: 7.938 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9204, allocations: 0 / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.9204, allocations: 0 / 1.277 GB, free: 1.355 MB / 0.9669 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.0009774/0.9214, allocations: 0.4944 MB / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.9214, allocations: 16.02 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.903e-05/0.9215, allocations: 20.84 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006585/0.9222, allocations: 244.4 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.9222, allocations: 8.375 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.9223, allocations: 24.36 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.9226, allocations: 147.8 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.9226, allocations: 3.938 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.9226, allocations: 7.938 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.9226, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.9228, allocations: 59.95 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009801/0.9237, allocations: 0.5163 MB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.924, allocations: 133.2 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.988e-05/0.9241, allocations: 53.69 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.9241, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004741/0.9246, allocations: 200.9 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.9246, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0006181/0.9252, allocations: 319 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.9253, allocations: 89.05 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.9254, allocations: 131.9 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.9255, allocations: 41.7 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.9256, allocations: 104.8 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.9256, allocations: 47.69 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.9258, allocations: 69.69 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.9259, allocations: 330.8 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.9261, allocations: 84.23 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.9264, allocations: 164.2 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.9267, allocations: 250.9 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.9267, allocations: 0 / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006223/0.9273, allocations: 362.5 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/0.9274, allocations: 67.41 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9274, allocations: 0 / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.9274, allocations: 7.984 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.9275, allocations: 15.94 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.9275, allocations: 7.938 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.9279, allocations: 67.81 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-05/0.928, allocations: 24 kB / 1.281 GB, free: 12.94 MB / 0.9825 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.000172/0.9281, allocations: 144 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.9282, allocations: 19.91 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.9282, allocations: 16.48 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.9282, allocations: 4 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.9282, allocations: 3.938 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.9282, allocations: 3.938 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/0.929, allocations: 0.61 MB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.929, allocations: 3.984 kB / 1.282 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/0.929, allocations: 11.94 kB / 1.282 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.929, allocations: 7.938 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.9291, allocations: 11.98 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.9291, allocations: 0 / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9291, allocations: 0 / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.9296, allocations: 418.6 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.9296, allocations: 92.95 kB / 1.282 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.9297, allocations: 15.92 kB / 1.282 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.9298, allocations: 19.97 kB / 1.282 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.9299, allocations: 19.91 kB / 1.282 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.9299, allocations: 23.92 kB / 1.282 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.757e-05/0.93, allocations: 91.28 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.93, allocations: 0 / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003626/0.9304, allocations: 59.98 kB / 1.283 GB, free: 11.28 MB / 0.9825 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.0002191/0.9306, allocations: 111.8 kB / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005422/0.9311, allocations: 320.8 kB / 1.283 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9311, allocations: 4.031 kB / 1.283 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.9313, allocations: 79.84 kB / 1.283 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.9317, allocations: 37.75 kB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.9323, allocations: 288.2 kB / 1.283 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.9327, allocations: 0.7047 MB / 1.284 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.15e-05/0.9328, allocations: 21.55 kB / 1.284 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.9328, allocations: 15.44 kB / 1.284 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.9328, allocations: 0 / 1.284 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of Templates: time 0.006811/0.9396, allocations: 2.739 MB / 1.287 GB, free: 6.914 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.108238614164293]