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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.679/2.679, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.655e-06/2.655e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.638e-05, allocations: 5.688 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002495/0.002531, allocations: 0.7237 MB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.00513, allocations: 1.281 MB / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.005194, allocations: 4.562 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.239e-05/0.005236, allocations: 9.109 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.005357, allocations: 19.8 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009142/0.006271, allocations: 241 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.006727, allocations: 252.8 kB / 0.7889 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.006835, allocations: 16.2 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.007109, allocations: 139.8 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.007333, allocations: 88.47 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/0.007397, allocations: 24.91 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.007506, allocations: 28 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.007567, allocations: 35.89 kB / 0.7892 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.007956, allocations: 80.56 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.008411, allocations: 259.2 kB / 0.7895 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.008415, allocations: 1.594 kB / 0.7895 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/0.008416, allocations: 0 / 0.7895 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.008421, allocations: 0 / 0.7895 GB, free: 9.625 MB / 0.7448 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.001105/0.009526, allocations: 428.8 kB / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.009584, allocations: 12.03 kB / 0.7899 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.009721, allocations: 32.83 kB / 0.7899 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.01052, allocations: 188.4 kB / 0.7901 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.01057, allocations: 16.36 kB / 0.7901 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.01064, allocations: 21.09 kB / 0.7902 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.01099, allocations: 127.9 kB / 0.7903 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.01099, allocations: 1.844 kB / 0.7903 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.01102, allocations: 4.375 kB / 0.7903 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.01103, allocations: 8.125 kB / 0.7903 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.01123, allocations: 63.88 kB / 0.7904 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.0123, allocations: 422.4 kB / 0.7908 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.01293, allocations: 145.2 kB / 0.7909 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.01308, allocations: 55.03 kB / 0.791 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.0131, allocations: 4 kB / 0.791 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005623/0.01366, allocations: 212.6 kB / 0.7912 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.01366, allocations: 0 / 0.7912 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.000916/0.01458, allocations: 330.4 kB / 0.7915 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.011e-05/0.01467, allocations: 85.09 kB / 0.7916 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.01483, allocations: 131.4 kB / 0.7917 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.486e-05/0.01491, allocations: 43.25 kB / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.01502, allocations: 92.64 kB / 0.7918 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.01509, allocations: 51.78 kB / 0.7919 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.0153, allocations: 77.67 kB / 0.7919 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000238/0.01553, allocations: 331.3 kB / 0.7923 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.01588, allocations: 151.6 kB / 0.7924 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.01629, allocations: 212.2 kB / 0.7926 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/0.0168, allocations: 256.3 kB / 0.7928 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.0168, allocations: 0 / 0.7928 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001006/0.01781, allocations: 438.7 kB / 0.7933 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.681e-05/0.0179, allocations: 63.39 kB / 0.7933 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.01791, allocations: 4 kB / 0.7933 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.01793, allocations: 4.594 kB / 0.7933 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.01806, allocations: 19.94 kB / 0.7933 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.01807, allocations: 4.781 kB / 0.7934 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.01859, allocations: 73.52 kB / 0.7934 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.01864, allocations: 12 kB / 0.7934 GB, free: 5.266 MB / 0.7448 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.0002022/0.01884, allocations: 148.9 kB / 0.7936 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.01891, allocations: 32.72 kB / 0.7936 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.01896, allocations: 16.44 kB / 0.7936 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.01897, allocations: 2.219 kB / 0.7936 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.01898, allocations: 4 kB / 0.7936 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.01899, allocations: 3.984 kB / 0.7936 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009546/0.01994, allocations: 0.5522 MB / 0.7942 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01994, allocations: 0 / 0.7942 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.02, allocations: 11.94 kB / 0.7942 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.02001, allocations: 7.062 kB / 0.7942 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.02004, allocations: 11.98 kB / 0.7942 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.02004, allocations: 4 kB / 0.7942 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.02005, allocations: 80 / 0.7942 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/0.02078, allocations: 438.5 kB / 0.7946 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.0208, allocations: 11.91 kB / 0.7946 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.02085, allocations: 8 kB / 0.7946 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.02108, allocations: 21.17 kB / 0.7947 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.02118, allocations: 23.95 kB / 0.7947 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.02121, allocations: 15.98 kB / 0.7947 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.566e-05/0.02131, allocations: 97.52 kB / 0.7948 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.02131, allocations: 0.625 kB / 0.7948 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006121/0.02192, allocations: 60.48 kB / 0.7949 GB, free: 3.766 MB / 0.7448 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.0002674/0.02219, allocations: 122.3 kB / 0.795 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007915/0.02298, allocations: 379 kB / 0.7953 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02298, allocations: 0 / 0.7953 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.02322, allocations: 84.53 kB / 0.7954 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/0.02384, allocations: 35.31 kB / 0.7954 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008147/0.02465, allocations: 277 kB / 0.7957 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.0248, allocations: 92.97 kB / 0.7958 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.874e-05/0.02489, allocations: 14.36 kB / 0.7958 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.199e-05/0.02497, allocations: 29.61 kB / 0.7958 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.02497, allocations: 0 / 0.7958 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of Templates: time 0.009701/0.03467, allocations: 2.885 MB / 0.7987 GB, free: 15.86 MB / 0.7605 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.796737062046304]