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.001293/0.001293, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001454/0.001454, allocations: 209.8 kB / 22.99 MB, free: 4.945 MB / 14.72 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.124/3.124, allocations: 0.4892 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 65.42 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.316, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001959/0.3179, allocations: 0.7089 MB / 1.327 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3198, allocations: 1.287 MB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.3199, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.983e-05/0.3199, allocations: 7.875 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.608e-05/0.32, allocations: 15.86 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.3207, allocations: 250.2 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.321, allocations: 259.5 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.3211, allocations: 12.23 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3213, allocations: 95.86 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.3215, allocations: 87.69 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.3215, allocations: 20 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.3216, allocations: 43.98 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.3216, allocations: 27.95 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.3218, allocations: 91.69 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.3221, allocations: 227.3 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3221, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3221, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3221, allocations: 4 kB / 1.329 GB, free: 14.69 MB / 1.029 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.000775/0.3229, allocations: 429.2 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3229, allocations: 8.031 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.323, allocations: 16.89 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.3235, allocations: 186.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.3236, allocations: 16.31 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.3236, allocations: 24.36 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.3239, allocations: 134.1 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3239, allocations: 7.938 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.3239, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3239, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.3241, allocations: 67.89 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.3249, allocations: 424.5 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.3251, allocations: 141.1 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.525e-05/0.3252, allocations: 53.69 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.3253, allocations: 4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/0.3257, allocations: 209.9 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.3257, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0006053/0.3263, allocations: 309.5 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.3263, allocations: 85.09 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3265, allocations: 135.6 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.3265, allocations: 41.7 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.3266, allocations: 100.5 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.3266, allocations: 55.62 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.3268, allocations: 73.67 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3269, allocations: 326.8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.3272, allocations: 143.6 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.3274, allocations: 215.6 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.3278, allocations: 253.8 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3278, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006741/0.3285, allocations: 428 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.214e-05/0.3286, allocations: 63.39 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3286, allocations: 4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3286, allocations: 4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3287, allocations: 19.94 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3287, allocations: 8.203 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.3291, allocations: 71.77 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.3291, allocations: 19.98 kB / 1.333 GB, free: 10.34 MB / 1.029 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.0001654/0.3293, allocations: 140.3 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.3293, allocations: 19.89 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.3294, allocations: 16.44 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3294, allocations: 4 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3294, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3294, allocations: 3.938 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006821/0.3301, allocations: 0.552 MB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3301, allocations: 0 / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.3301, allocations: 8 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3301, allocations: 0 / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.3301, allocations: 11.98 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3301, allocations: 3.938 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3301, allocations: 0 / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.3306, allocations: 439.9 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.3306, allocations: 11.89 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.3307, allocations: 15.98 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3308, allocations: 11.98 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.3309, allocations: 27.89 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.3309, allocations: 12 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.471e-05/0.331, allocations: 102.3 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.331, allocations: 0 / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003672/0.3313, allocations: 59.92 kB / 1.335 GB, free: 8.855 MB / 1.029 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.0001898/0.3315, allocations: 127.6 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005616/0.3321, allocations: 373.9 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3321, allocations: 0 / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.3323, allocations: 87.89 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3327, allocations: 23.97 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.3332, allocations: 310.3 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.214e-05/0.3333, allocations: 92.84 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.3334, allocations: 19.42 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3334, allocations: 4 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of Templates: time 0.004645/0.338, allocations: 2.296 MB / 1.338 GB, free: 5.449 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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 Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time [Calling sys.exit(0), Time elapsed: 11.006043589208275]