Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001391/0.001391, allocations: 108.1 kB / 16.46 MB, free: 6.453 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.001414/0.001414, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.596/1.596, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.441/3.441, allocations: 0.4899 GB / 0.7915 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] 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.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_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_12_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.002087/0.002087, allocations: 71.5 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4329, allocations: 176.1 MB / 1.321 GB, free: 2.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002718/0.4356, allocations: 1.075 MB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.4372, allocations: 1.034 MB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.4374, allocations: 4 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.4375, allocations: 19.73 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.4376, allocations: 23.73 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.438, allocations: 71.86 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.4383, allocations: 184 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.4384, allocations: 67.98 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.4386, allocations: 67.77 kB / 1.324 GB, free: 240 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.4387, allocations: 79.61 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.4387, allocations: 20 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.417e-05/0.4388, allocations: 16 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.4389, allocations: 51.77 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.537e-05/0.4389, allocations: 71.59 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.4392, allocations: 187.2 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4392, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4392, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.4392, allocations: 7.938 kB / 1.324 GB, free: 15.81 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009437/0.4402, allocations: 486.6 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4402, allocations: 11.98 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.4404, allocations: 20.8 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.4407, allocations: 226.9 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.4407, allocations: 16.38 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.4408, allocations: 12.38 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.4411, allocations: 161.6 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4411, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.4411, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4412, allocations: 4 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.4415, allocations: 107.9 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.4426, allocations: 0.5275 MB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.443, allocations: 134.7 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.4432, allocations: 84.75 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.4433, allocations: 0 / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.4435, allocations: 129 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.122e-06/0.4435, allocations: 7.938 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0005904/0.4441, allocations: 219.2 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.4441, allocations: 55.34 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.4443, allocations: 165.9 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.4443, allocations: 37.69 kB / 1.327 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.4444, allocations: 116.5 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.4445, allocations: 67.42 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.4446, allocations: 45.7 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4447, allocations: 326.8 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.4449, allocations: 67.89 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.4452, allocations: 91.69 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.4455, allocations: 149.5 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4455, allocations: 4 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005186/0.4461, allocations: 216.4 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4461, allocations: 8 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4461, allocations: 0 / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4461, allocations: 4.031 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.4463, allocations: 39.97 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4463, allocations: 0 / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.4465, allocations: 27.88 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.4465, allocations: 8 kB / 1.328 GB, free: 12.06 MB / 1.029 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.0001146/0.4466, allocations: 133.7 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.4466, allocations: 11.91 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.4471, allocations: 198.7 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4471, allocations: 3.984 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4471, allocations: 0 / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4471, allocations: 0 / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009046/0.448, allocations: 0.5851 MB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.448, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.4482, allocations: 39.97 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.4482, allocations: 7.938 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.4482, allocations: 0 / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.166e-06/0.4482, allocations: 12.11 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4482, allocations: 4 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006673/0.4489, allocations: 382.5 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.449, allocations: 96.95 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.449, allocations: 11.94 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.4491, allocations: 15.97 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.4492, allocations: 19.97 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.4492, allocations: 12 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.906e-05/0.4493, allocations: 117.2 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4493, allocations: 0 / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002832/0.4496, allocations: 39.89 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.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.0001922/0.4498, allocations: 115.2 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004774/0.4503, allocations: 151.8 kB / 1.33 GB, free: 9.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4503, allocations: 0 / 1.33 GB, free: 9.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.4505, allocations: 87.83 kB / 1.33 GB, free: 9.895 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.4508, allocations: 24 kB / 1.33 GB, free: 9.871 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007863/0.4516, allocations: 397.8 kB / 1.33 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.452, allocations: 0.7244 MB / 1.331 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.683e-05/0.4521, allocations: 17.41 kB / 1.331 GB, free: 8.672 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.4521, allocations: 19.44 kB / 1.331 GB, free: 8.652 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.4521, allocations: 0 / 1.331 GB, free: 8.652 MB / 1.029 GB Notification: Performance of Templates: time 0.005579/0.4577, allocations: 1.781 MB / 1.332 GB, free: 6.879 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.727316382806748]