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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.842/2.842, allocations: 476.6 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.88 kB / 1.107 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388/1.39, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002782/1.393, allocations: 1.081 MB / 1.273 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001855/1.394, allocations: 0.9993 MB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/1.395, allocations: 3.781 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002028/1.395, allocations: 20.06 kB / 1.274 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/1.395, allocations: 22.19 kB / 1.274 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/1.395, allocations: 80.19 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/1.396, allocations: 172 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/1.396, allocations: 64.08 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/1.396, allocations: 71.73 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/1.396, allocations: 84.39 kB / 1.275 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/1.396, allocations: 16.88 kB / 1.275 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.079e-05/1.396, allocations: 15.84 kB / 1.275 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/1.396, allocations: 31.98 kB / 1.275 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.803e-05/1.396, allocations: 82.38 kB / 1.275 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003272/1.397, allocations: 186.9 kB / 1.275 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/1.397, allocations: 0 / 1.275 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.397, allocations: 0 / 1.275 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.397, allocations: 1.094 kB / 1.275 GB, free: 6.02 MB / 0.9981 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.0009442/1.398, allocations: 481.8 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/1.398, allocations: 13.06 kB / 1.275 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/1.398, allocations: 18.72 kB / 1.275 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/1.398, allocations: 229 kB / 1.276 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/1.398, allocations: 15.08 kB / 1.276 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/1.398, allocations: 14.88 kB / 1.276 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/1.399, allocations: 160.8 kB / 1.276 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/1.399, allocations: 0 / 1.276 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/1.399, allocations: 6.406 kB / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/1.399, allocations: 8.25 kB / 1.276 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/1.399, allocations: 104.3 kB / 1.276 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/1.4, allocations: 0.5313 MB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/1.4, allocations: 130.8 kB / 1.277 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/1.401, allocations: 81.55 kB / 1.277 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/1.401, allocations: 7.406 kB / 1.277 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/1.401, allocations: 120.3 kB / 1.277 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/1.401, allocations: 0.7812 kB / 1.277 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0005734/1.402, allocations: 225.4 kB / 1.277 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/1.402, allocations: 53.12 kB / 1.277 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/1.402, allocations: 170.6 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/1.402, allocations: 32.11 kB / 1.277 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/1.402, allocations: 121.5 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/1.402, allocations: 63.78 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/1.402, allocations: 43.58 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.402, allocations: 329.1 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/1.402, allocations: 69.59 kB / 1.278 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/1.402, allocations: 92.05 kB / 1.278 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/1.403, allocations: 141.4 kB / 1.278 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.403, allocations: 3.938 kB / 1.278 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005362/1.403, allocations: 215 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/1.403, allocations: 6.625 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.403, allocations: 1.094 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/1.403, allocations: 4.609 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/1.404, allocations: 42.55 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.404, allocations: 1.125 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/1.404, allocations: 28.23 kB / 1.278 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/1.404, allocations: 8.375 kB / 1.278 GB, free: 3.578 MB / 0.9981 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.0001151/1.404, allocations: 137.6 kB / 1.278 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/1.404, allocations: 15.69 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004537/1.404, allocations: 191.7 kB / 1.279 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.404, allocations: 2.719 kB / 1.279 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.404, allocations: 0 / 1.279 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.404, allocations: 2.375 kB / 1.279 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/1.405, allocations: 0.5806 MB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.405, allocations: 6.156 kB / 1.279 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/1.405, allocations: 39.38 kB / 1.279 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/1.405, allocations: 8.719 kB / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/1.405, allocations: 3.281 kB / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.405, allocations: 6.875 kB / 1.279 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.405, allocations: 2.031 kB / 1.279 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/1.406, allocations: 391.2 kB / 1.28 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/1.406, allocations: 96.61 kB / 1.28 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/1.406, allocations: 8.062 kB / 1.28 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/1.406, allocations: 18.02 kB / 1.28 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/1.406, allocations: 20.95 kB / 1.28 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/1.406, allocations: 14.84 kB / 1.28 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.492e-05/1.406, allocations: 117.3 kB / 1.28 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.406, allocations: 0 / 1.28 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002801/1.407, allocations: 35.86 kB / 1.28 GB, free: 2.379 MB / 0.9981 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.0001682/1.407, allocations: 114.2 kB / 1.28 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004562/1.407, allocations: 160.2 kB / 1.28 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.407, allocations: 0.75 kB / 1.28 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/1.408, allocations: 84.89 kB / 1.28 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/1.408, allocations: 31.25 kB / 1.28 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007222/1.409, allocations: 396.9 kB / 1.281 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/1.409, allocations: 0.7258 MB / 1.281 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.832e-05/1.409, allocations: 15.72 kB / 1.281 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/1.409, allocations: 23.62 kB / 1.281 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.409, allocations: 0 / 1.281 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of Templates: time 0.005738/1.415, allocations: 1.832 MB / 1.283 GB, free: 1.039 MB / 0.9981 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 10.024966903962195]