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.001805/0.001805, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001592/0.001592, allocations: 213.7 kB / 23 MB, free: 4.965 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.425/3.425, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002/0.002, allocations: 69.44 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4322, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.004237/0.4364, allocations: 1.001 MB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.4391, allocations: 1.03 MB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.4392, allocations: 4 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.4395, allocations: 19.73 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.4396, allocations: 19.75 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.4401, allocations: 79.78 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.4405, allocations: 180 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.4408, allocations: 64.38 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.441, allocations: 67.78 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.4411, allocations: 87.59 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.4412, allocations: 16 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.511e-05/0.4413, allocations: 24 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.4414, allocations: 35.86 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.4415, allocations: 59.7 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.4419, allocations: 187.1 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.4419, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.096e-06/0.4419, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4419, allocations: 0 / 1.33 GB, free: 14.09 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.00142/0.4434, allocations: 434.3 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/0.4434, allocations: 8.031 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.4436, allocations: 24.8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.4441, allocations: 167.7 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.4442, allocations: 12.38 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.706e-05/0.4442, allocations: 16.38 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006421/0.4449, allocations: 187.2 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4449, allocations: 4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.4449, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4449, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.4454, allocations: 107.9 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.4472, allocations: 439.9 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.4479, allocations: 130.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.4482, allocations: 80.72 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/0.4483, allocations: 8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004549/0.4487, allocations: 142 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 3.296e-06/0.4487, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0009779/0.4497, allocations: 226.8 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.4498, allocations: 59.41 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.45, allocations: 141 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.45, allocations: 33.7 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.4502, allocations: 120.4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.4503, allocations: 75.41 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.4505, allocations: 37.7 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002995/0.4508, allocations: 326.8 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.4512, allocations: 71.95 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/0.4516, allocations: 87.3 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007104/0.4523, allocations: 143.4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4523, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009863/0.4533, allocations: 213.5 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.4533, allocations: 7.984 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.4533, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.4534, allocations: 4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004211/0.4538, allocations: 35.92 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.4538, allocations: 7.984 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.4541, allocations: 27.86 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.4541, allocations: 4 kB / 1.333 GB, free: 10.58 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.0002502/0.4544, allocations: 137.8 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.4544, allocations: 15.91 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008533/0.4553, allocations: 184.1 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4553, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4553, allocations: 3.938 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.4553, allocations: 19.84 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.4554, allocations: 7.938 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.4556, allocations: 23.97 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.4557, allocations: 23.95 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00112/0.4568, allocations: 270.3 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001199/0.458, allocations: 430.5 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003235/0.4583, allocations: 69.55 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002464/0.4586, allocations: 113.6 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of Backend: time 6.91e-07/0.4586, allocations: 0 / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.4597, allocations: 176.3 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of SimCode: time 0.001351/0.461, allocations: 0.769 MB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of Templates: time 0.01084/0.4719, allocations: 2.197 MB / 1.337 GB, free: 6.109 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/jenkins1/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.573105816001771]