Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.00173/0.00173, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001923/0.001923, allocations: 156.9 kB / 23.01 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.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.938 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.822/2.822, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 176] 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.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [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.002211/0.002211, allocations: 77.59 kB / 0.9516 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3417, allocations: 169.9 MB / 1.118 GB, free: 2.461 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00244/0.3442, allocations: 0.9984 MB / 1.118 GB, free: 1.465 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.3457, allocations: 1.03 MB / 1.119 GB, free: 432 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.3458, allocations: 7.938 kB / 1.119 GB, free: 424 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.3459, allocations: 15.8 kB / 1.12 GB, free: 408 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.038e-05/0.346, allocations: 23.75 kB / 1.12 GB, free: 384 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.3463, allocations: 82.7 kB / 1.12 GB, free: 304 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.3465, allocations: 172.1 kB / 1.12 GB, free: 128 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3467, allocations: 60.5 kB / 1.12 GB, free: 64 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.3468, allocations: 71.77 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.3469, allocations: 67.61 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.3469, allocations: 20 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.893e-05/0.347, allocations: 20 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.347, allocations: 43.84 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.3471, allocations: 63.64 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.3473, allocations: 191.2 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3474, allocations: 0 / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3474, allocations: 3.938 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.3474, allocations: 0 / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008495/0.3482, allocations: 430.3 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3482, allocations: 12.03 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3483, allocations: 20.8 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.3486, allocations: 173 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.3487, allocations: 16.38 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.3487, allocations: 12.38 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.3491, allocations: 183.3 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3491, allocations: 0 / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.3491, allocations: 4 kB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3491, allocations: 4 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/0.3494, allocations: 103.9 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.3505, allocations: 443.8 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.3509, allocations: 130.7 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.3511, allocations: 80.83 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3511, allocations: 7.922 kB / 1.122 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.3514, allocations: 148.9 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.3514, allocations: 0 / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.0005739/0.3519, allocations: 223.7 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.352, allocations: 51.41 kB / 1.122 GB, free: 13.44 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.3521, allocations: 157.7 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.3522, allocations: 33.7 kB / 1.122 GB, free: 13.24 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.3522, allocations: 116.4 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.3523, allocations: 67.42 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.3524, allocations: 41.7 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3525, allocations: 326.8 kB / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.3527, allocations: 59.97 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.353, allocations: 89.66 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.3534, allocations: 155.9 kB / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3534, allocations: 0 / 1.123 GB, free: 12.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005206/0.3539, allocations: 215.1 kB / 1.123 GB, free: 12.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3539, allocations: 6.5 kB / 1.123 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3539, allocations: 0 / 1.123 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3539, allocations: 0 / 1.123 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.3541, allocations: 44 kB / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.3541, allocations: 0 / 1.123 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.3543, allocations: 31.86 kB / 1.124 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.3543, allocations: 4 kB / 1.124 GB, free: 12.07 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001226/0.3544, allocations: 141.6 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.3545, allocations: 11.91 kB / 1.124 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004614/0.3549, allocations: 190.7 kB / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3549, allocations: 8 kB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3549, allocations: 0 / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3549, allocations: 0 / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008712/0.3558, allocations: 0.5029 MB / 1.124 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3558, allocations: 8.031 kB / 1.124 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.356, allocations: 31.98 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.356, allocations: 4 kB / 1.124 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.356, allocations: 11.92 kB / 1.124 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.356, allocations: 7.938 kB / 1.124 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.356, allocations: 3.938 kB / 1.124 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/0.3567, allocations: 378.9 kB / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.3567, allocations: 27.77 kB / 1.125 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.3567, allocations: 11.98 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.3569, allocations: 11.98 kB / 1.125 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.357, allocations: 20.06 kB / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.357, allocations: 12 kB / 1.125 GB, free: 10.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.318e-05/0.3571, allocations: 108.8 kB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3571, allocations: 0 / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002796/0.3573, allocations: 31.95 kB / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001449/0.3575, allocations: 127 kB / 1.125 GB, free: 10.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004434/0.3579, allocations: 151.8 kB / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3579, allocations: 0 / 1.125 GB, free: 10.18 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3581, allocations: 83.84 kB / 1.125 GB, free: 10.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3585, allocations: 28.42 kB / 1.125 GB, free: 10.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.3591, allocations: 370.5 kB / 1.126 GB, free: 9.668 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.3593, allocations: 116.3 kB / 1.126 GB, free: 9.535 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.592e-05/0.3593, allocations: 17.48 kB / 1.126 GB, free: 9.516 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.3594, allocations: 20.5 kB / 1.126 GB, free: 9.492 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.3594, allocations: 0 / 1.126 GB, free: 9.492 MB / 1.076 GB Notification: Performance of Templates: time 0.005382/0.3648, allocations: 1.734 MB / 1.128 GB, free: 7.797 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.943666356964968]