Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001239/0.001239, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002091/0.003331, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.00132/0.00132, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001852/0.003172, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9928/0.9928, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09774/1.091, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.869/1.869, allocations: 378.2 MB / 0.6076 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.555/2.424, allocations: 123.3 MB / 0.7281 GB, free: 5.801 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 1.094 kB / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.263e-05, allocations: 3.906 kB / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001881/0.001904, allocations: 0.7748 MB / 0.7301 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.003562, allocations: 1.307 MB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.003624, allocations: 0 / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.003656, allocations: 8.578 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.003723, allocations: 18.84 kB / 0.7314 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.004354, allocations: 238.3 kB / 0.7316 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.004739, allocations: 262.5 kB / 0.7319 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.004839, allocations: 13.09 kB / 0.7319 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.005065, allocations: 155.8 kB / 0.732 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.005236, allocations: 73.25 kB / 0.7321 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.005277, allocations: 20 kB / 0.7321 GB, free: 1.691 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-05/0.005376, allocations: 36.64 kB / 0.7322 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.005409, allocations: 20.62 kB / 0.7322 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.005489, allocations: 51.92 kB / 0.7322 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.0057, allocations: 137.3 kB / 0.7324 GB, free: 1.453 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.005714, allocations: 4 kB / 0.7324 GB, free: 1.449 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.11e-07/0.005715, allocations: 0 / 0.7324 GB, free: 1.449 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.005726, allocations: 0 / 0.7324 GB, free: 1.449 MB / 0.698 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.0006632/0.006389, allocations: 416.6 kB / 0.7328 GB, free: 1.004 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.006426, allocations: 12.03 kB / 0.7328 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.006495, allocations: 29.67 kB / 0.7328 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.006707, allocations: 141.6 kB / 0.7329 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.006732, allocations: 17.3 kB / 0.733 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.006764, allocations: 24.31 kB / 0.733 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.006928, allocations: 124.9 kB / 0.7331 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.006937, allocations: 4.188 kB / 0.7331 GB, free: 0.625 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.006948, allocations: 1.062 kB / 0.7331 GB, free: 0.625 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.006952, allocations: 384 / 0.7331 GB, free: 0.625 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.973e-05/0.007022, allocations: 52.41 kB / 0.7332 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.007533, allocations: 326.1 kB / 0.7335 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.007708, allocations: 109.7 kB / 0.7336 GB, free: 116 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.007755, allocations: 37.7 kB / 0.7336 GB, free: 72 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.007763, allocations: 0.875 kB / 0.7336 GB, free: 72 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.008032, allocations: 190.5 kB / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.182e-06/0.008033, allocations: 0.7188 kB / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0002842/0.008317, allocations: 181.5 kB / 0.734 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.008371, allocations: 94.06 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.008458, allocations: 130.6 kB / 0.7342 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.008499, allocations: 45.69 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.008559, allocations: 85.2 kB / 0.7343 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.008605, allocations: 65.33 kB / 0.7344 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.811e-05/0.008703, allocations: 73.64 kB / 0.7344 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.008795, allocations: 322.8 kB / 0.7347 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.008908, allocations: 111.7 kB / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.009052, allocations: 187.6 kB / 0.735 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.009286, allocations: 211.9 kB / 0.7352 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.009293, allocations: 7.938 kB / 0.7352 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003178/0.009611, allocations: 334.1 kB / 0.7356 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.00967, allocations: 69.42 kB / 0.7356 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.009679, allocations: 5.312 kB / 0.7356 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.009688, allocations: 3.938 kB / 0.7356 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.009777, allocations: 27.92 kB / 0.7357 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.009784, allocations: 4.875 kB / 0.7357 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.009992, allocations: 56.69 kB / 0.7357 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.01002, allocations: 16.86 kB / 0.7357 GB, free: 13.69 MB / 0.7136 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.0001089/0.01013, allocations: 144.3 kB / 0.7359 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.01016, allocations: 24.64 kB / 0.7359 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.0102, allocations: 16.42 kB / 0.7359 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.0102, allocations: 5.156 kB / 0.7359 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01021, allocations: 0 / 0.7359 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.01021, allocations: 0 / 0.7359 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.01054, allocations: 396 kB / 0.7363 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01054, allocations: 0 / 0.7363 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.01058, allocations: 11.98 kB / 0.7363 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.0106, allocations: 14.66 kB / 0.7363 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.0106, allocations: 4 kB / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.01062, allocations: 7.984 kB / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01062, allocations: 4 kB / 0.7363 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01062, allocations: 0 / 0.7363 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.01084, allocations: 315.7 kB / 0.7366 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.01087, allocations: 15.92 kB / 0.7366 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.01099, allocations: 14.27 kB / 0.7367 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.01104, allocations: 19.95 kB / 0.7367 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.01106, allocations: 15.98 kB / 0.7367 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.175e-05/0.01108, allocations: 20.22 kB / 0.7367 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01108, allocations: 0 / 0.7367 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002889/0.01137, allocations: 56 kB / 0.7368 GB, free: 12.58 MB / 0.7136 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.0002294/0.0116, allocations: 107.3 kB / 0.7369 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.01193, allocations: 332.5 kB / 0.7372 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.01193, allocations: 4 kB / 0.7372 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/0.01202, allocations: 64.77 kB / 0.7373 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.01232, allocations: 50.98 kB / 0.7373 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.01298, allocations: 279.8 kB / 0.7376 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.52e-05/0.01303, allocations: 68 kB / 0.7376 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.965e-05/0.01309, allocations: 20.16 kB / 0.7377 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.01324, allocations: 96.3 kB / 0.7377 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/0.01324, allocations: 0 / 0.7377 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.006286/0.01953, allocations: 3.126 MB / 0.7408 GB, free: 8.547 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.188618731684983]