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.001925/0.001925, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.002183/0.002183, allocations: 161.8 kB / 22.46 MB, free: 5.375 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.659/1.659, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.92/2.92, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.855e-06/2.855e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.566e-05/3.851e-05, allocations: 9.797 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002285/0.002324, allocations: 0.7192 MB / 0.9821 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.004464, allocations: 1.283 MB / 0.9834 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.004526, allocations: 0 / 0.9834 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.004566, allocations: 3.938 kB / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.00467, allocations: 23.78 kB / 0.9834 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008233/0.005493, allocations: 255.7 kB / 0.9837 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.005839, allocations: 251.5 kB / 0.9839 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.005952, allocations: 12.22 kB / 0.9839 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.006245, allocations: 147.8 kB / 0.9841 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.006445, allocations: 83.73 kB / 0.9841 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.006503, allocations: 24 kB / 0.9842 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.006604, allocations: 31.98 kB / 0.9842 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.006656, allocations: 35.89 kB / 0.9842 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.006796, allocations: 79.86 kB / 0.9843 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.007192, allocations: 263.3 kB / 0.9846 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.007197, allocations: 4 kB / 0.9846 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.11e-07/0.007197, allocations: 0 / 0.9846 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.007203, allocations: 0 / 0.9846 GB, free: 8.762 MB / 0.9356 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.0008814/0.008084, allocations: 433.2 kB / 0.985 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.008125, allocations: 8.031 kB / 0.985 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.06e-05/0.008216, allocations: 20.88 kB / 0.985 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006306/0.008846, allocations: 193.7 kB / 0.9852 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.00888, allocations: 16.36 kB / 0.9852 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.008927, allocations: 16.38 kB / 0.9852 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.009198, allocations: 131.9 kB / 0.9853 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.009207, allocations: 192 / 0.9853 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.009226, allocations: 4.375 kB / 0.9853 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.009234, allocations: 4.125 kB / 0.9853 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.009385, allocations: 67.88 kB / 0.9854 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008469/0.01023, allocations: 416.6 kB / 0.9858 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.01053, allocations: 141.2 kB / 0.9859 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.01063, allocations: 53.69 kB / 0.986 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.01065, allocations: 4 kB / 0.986 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004331/0.01108, allocations: 212.7 kB / 0.9862 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.01108, allocations: 4 kB / 0.9862 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.0007008/0.01178, allocations: 317.4 kB / 0.9865 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.01188, allocations: 85.05 kB / 0.9866 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.01202, allocations: 132.7 kB / 0.9867 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.01208, allocations: 37.7 kB / 0.9868 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.01221, allocations: 101 kB / 0.9868 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/0.01227, allocations: 51.78 kB / 0.9869 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.01241, allocations: 69.69 kB / 0.987 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002599/0.01267, allocations: 334.8 kB / 0.9873 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.01292, allocations: 147.6 kB / 0.9874 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.01341, allocations: 219.6 kB / 0.9876 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.01379, allocations: 243 kB / 0.9879 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01379, allocations: 0 / 0.9879 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007358/0.01453, allocations: 429.3 kB / 0.9883 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.0146, allocations: 63.39 kB / 0.9883 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01461, allocations: 4 kB / 0.9883 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.01463, allocations: 4 kB / 0.9883 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.01474, allocations: 23.92 kB / 0.9884 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.01475, allocations: 4 kB / 0.9884 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.01515, allocations: 68.02 kB / 0.9884 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.0152, allocations: 23.98 kB / 0.9885 GB, free: 4.414 MB / 0.9356 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.0002206/0.01542, allocations: 147.6 kB / 0.9886 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.01547, allocations: 19.89 kB / 0.9886 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.21e-05/0.01553, allocations: 12.44 kB / 0.9886 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01553, allocations: 4 kB / 0.9886 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.01554, allocations: 0 / 0.9886 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.01555, allocations: 11.92 kB / 0.9886 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.01631, allocations: 0.5481 MB / 0.9892 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01631, allocations: 0 / 0.9892 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.01636, allocations: 8.094 kB / 0.9892 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01636, allocations: 3.938 kB / 0.9892 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.01639, allocations: 11.98 kB / 0.9892 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01639, allocations: 0 / 0.9892 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01639, allocations: 0 / 0.9892 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006757/0.01707, allocations: 440.6 kB / 0.9896 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.01708, allocations: 7.953 kB / 0.9896 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.01713, allocations: 11.98 kB / 0.9896 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.01728, allocations: 15.98 kB / 0.9897 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.01735, allocations: 19.95 kB / 0.9897 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.01738, allocations: 15.98 kB / 0.9897 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001688/0.01755, allocations: 102.1 kB / 0.9898 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.01755, allocations: 0 / 0.9898 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003903/0.01794, allocations: 63.83 kB / 0.9899 GB, free: 2.93 MB / 0.9356 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.0002192/0.01816, allocations: 112.7 kB / 0.99 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006847/0.01884, allocations: 386.3 kB / 0.9903 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.01884, allocations: 0 / 0.9903 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.01903, allocations: 83.89 kB / 0.9904 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.01946, allocations: 30.47 kB / 0.9904 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.02013, allocations: 279 kB / 0.9907 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.02024, allocations: 93.09 kB / 0.9908 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.409e-05/0.0203, allocations: 13.48 kB / 0.9908 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.02036, allocations: 20.5 kB / 0.9908 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.02036, allocations: 0 / 0.9908 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of Templates: time 0.007595/0.02795, allocations: 2.878 MB / 0.9936 GB, free: 15.02 MB / 0.9512 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.587336502969265]