Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.001601/0.001601, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.002015/0.002015, allocations: 160 kB / 23.01 MB, free: 4.602 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.483/1.483, allocations: 177.2 MB / 203.4 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.69/2.69, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [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.00214/0.00214, allocations: 63.91 kB / 0.9515 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3488, allocations: 169.9 MB / 1.117 GB, free: 2.621 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00212/0.3509, allocations: 0.7208 MB / 1.118 GB, free: 1.898 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3525, allocations: 1.179 MB / 1.119 GB, free: 0.707 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.3526, allocations: 0 / 1.119 GB, free: 0.707 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.3526, allocations: 3.938 kB / 1.119 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.953e-05/0.3527, allocations: 19.86 kB / 1.119 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/0.3533, allocations: 128.4 kB / 1.119 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.3535, allocations: 111.8 kB / 1.12 GB, free: 460 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.3536, allocations: 15.92 kB / 1.12 GB, free: 444 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3537, allocations: 47.91 kB / 1.12 GB, free: 396 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.3538, allocations: 43.81 kB / 1.12 GB, free: 352 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.3538, allocations: 12 kB / 1.12 GB, free: 340 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.429e-05/0.3539, allocations: 23.98 kB / 1.12 GB, free: 316 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.3539, allocations: 19.92 kB / 1.12 GB, free: 296 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.577e-05/0.354, allocations: 35.92 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3542, allocations: 111.6 kB / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3542, allocations: 0 / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3542, allocations: 0 / 1.12 GB, free: 148 kB / 1.061 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.3542, allocations: 0 / 1.12 GB, free: 148 kB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006541/0.3549, allocations: 343.7 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3549, allocations: 8.031 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.3549, allocations: 8.891 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.3551, allocations: 122.4 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.3551, allocations: 4.375 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3551, allocations: 12.36 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.3553, allocations: 58.23 kB / 1.12 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3553, allocations: 192 / 1.12 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3553, allocations: 7.938 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3553, allocations: 0 / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.3555, allocations: 43.95 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.356, allocations: 260.4 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.3562, allocations: 54.61 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3563, allocations: 28.91 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.3564, allocations: 4 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.3566, allocations: 103.3 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.3566, allocations: 0 / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0004735/0.3571, allocations: 141.6 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.3572, allocations: 51.41 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3573, allocations: 126.1 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3573, allocations: 33.7 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.3574, allocations: 88.14 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.3574, allocations: 27.75 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.3575, allocations: 37.7 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3577, allocations: 318.8 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.3579, allocations: 81.67 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3581, allocations: 121.9 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.3584, allocations: 133.9 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3584, allocations: 4 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004984/0.3589, allocations: 244.8 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.3589, allocations: 41.69 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3589, allocations: 0 / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3589, allocations: 3.984 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.359, allocations: 11.98 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.359, allocations: 4 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.3593, allocations: 40.05 kB / 1.122 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.3593, allocations: 11.98 kB / 1.122 GB, free: 13.37 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001239/0.3594, allocations: 121.7 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.3594, allocations: 7.953 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.3595, allocations: 12.44 kB / 1.122 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3595, allocations: 0 / 1.122 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3595, allocations: 0 / 1.122 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3595, allocations: 7.922 kB / 1.122 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.36, allocations: 326 kB / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.36, allocations: 4.062 kB / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.36, allocations: 11.94 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.36, allocations: 0 / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3601, allocations: 3.984 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3601, allocations: 0 / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3601, allocations: 0 / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.3604, allocations: 211.4 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.3604, allocations: 11.95 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.3604, allocations: 0 / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.3605, allocations: 7.984 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.3606, allocations: 11.98 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.3606, allocations: 0 / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.029e-05/0.3606, allocations: 95.38 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3606, allocations: 0 / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002714/0.3609, allocations: 23.98 kB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001506/0.3611, allocations: 107.8 kB / 1.123 GB, free: 12.35 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000424/0.3615, allocations: 192.9 kB / 1.123 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3615, allocations: 4 kB / 1.123 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.3616, allocations: 36.44 kB / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.3619, allocations: 15.27 kB / 1.123 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.3623, allocations: 175.1 kB / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.469e-05/0.3624, allocations: 74.38 kB / 1.124 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.3624, allocations: 4 kB / 1.124 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.3625, allocations: 12.5 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of SimCode: time 8.02e-07/0.3625, allocations: 0 / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of Templates: time 0.004842/0.3673, allocations: 1.565 MB / 1.125 GB, free: 10.25 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.69821205700282]