Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002095/0.002095, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.002179/0.002179, allocations: 165 kB / 22.46 MB, free: 5.375 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.603/1.603, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.973/2.973, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 1 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.579e-05, allocations: 13.95 kB / 1 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00239/0.002426, allocations: 1.008 MB / 1.001 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.004018, allocations: 1.026 MB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.00414, allocations: 7.938 kB / 1.002 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.004292, allocations: 15.8 kB / 1.002 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.107e-05/0.004373, allocations: 31.72 kB / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.004733, allocations: 67.84 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.004997, allocations: 184 kB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.005186, allocations: 52.52 kB / 1.003 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.005359, allocations: 107.8 kB / 1.003 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.005472, allocations: 59.78 kB / 1.003 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.005509, allocations: 20 kB / 1.003 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.515e-05/0.005574, allocations: 16 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.005631, allocations: 39.84 kB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.278e-05/0.005704, allocations: 51.83 kB / 1.003 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.005993, allocations: 203.3 kB / 1.003 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.005996, allocations: 0 / 1.003 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005998, allocations: 0 / 1.003 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.006003, allocations: 0 / 1.003 GB, free: 4.316 MB / 0.9512 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.0009987/0.007001, allocations: 418.4 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.007043, allocations: 16.02 kB / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.00715, allocations: 20.8 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.007444, allocations: 162.1 kB / 1.004 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.007468, allocations: 16.23 kB / 1.004 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.00751, allocations: 24.31 kB / 1.004 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.007881, allocations: 173.1 kB / 1.004 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.00789, allocations: 4.188 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.007914, allocations: 12.06 kB / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.007926, allocations: 4 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.008235, allocations: 115.8 kB / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.009313, allocations: 439.8 kB / 1.004 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.009715, allocations: 130.7 kB / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.0099, allocations: 80.86 kB / 1.005 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.009926, allocations: 0 / 1.005 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.0102, allocations: 145 kB / 1.005 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.0102, allocations: 0 / 1.005 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.0006019/0.0108, allocations: 235.1 kB / 1.005 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.01084, allocations: 55.41 kB / 1.005 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.01097, allocations: 136.3 kB / 1.005 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.011, allocations: 33.7 kB / 1.005 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.01108, allocations: 124.4 kB / 1.005 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.01114, allocations: 67.44 kB / 1.005 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.98e-05/0.01121, allocations: 41.7 kB / 1.005 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.01135, allocations: 322.8 kB / 1.006 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.01157, allocations: 71.89 kB / 1.006 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.0118, allocations: 89.67 kB / 1.006 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.01235, allocations: 147 kB / 1.006 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01235, allocations: 0 / 1.006 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005615/0.01292, allocations: 217.4 kB / 1.006 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.01293, allocations: 4 kB / 1.006 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01294, allocations: 0 / 1.006 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.01295, allocations: 4 kB / 1.006 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.01317, allocations: 39.91 kB / 1.006 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.01317, allocations: 0 / 1.006 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.01332, allocations: 23.94 kB / 1.006 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.01334, allocations: 8 kB / 1.006 GB, free: 0.8086 MB / 0.9512 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.0001213/0.01346, allocations: 130.3 kB / 1.006 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.01348, allocations: 7.953 kB / 1.006 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004641/0.01395, allocations: 201.2 kB / 1.007 GB, free: 476 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.01395, allocations: 7.938 kB / 1.007 GB, free: 468 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01396, allocations: 0 / 1.007 GB, free: 468 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.01396, allocations: 0 / 1.007 GB, free: 468 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008588/0.01482, allocations: 0.5078 MB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.01482, allocations: 4 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.01501, allocations: 39.91 kB / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01501, allocations: 0 / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.01503, allocations: 8 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.01504, allocations: 7.938 kB / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.01504, allocations: 4.125 kB / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.01568, allocations: 386.5 kB / 1.008 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.01571, allocations: 19.84 kB / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.01573, allocations: 4 kB / 1.008 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.0159, allocations: 19.97 kB / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.01597, allocations: 23.95 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.01599, allocations: 8 kB / 1.008 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.29e-05/0.01607, allocations: 107.3 kB / 1.008 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.01607, allocations: 0 / 1.008 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002855/0.01635, allocations: 35.94 kB / 1.008 GB, free: 15.2 MB / 0.9669 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.0001654/0.01652, allocations: 113.9 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004529/0.01697, allocations: 153.9 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01698, allocations: 0 / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.01717, allocations: 87.89 kB / 1.008 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.01754, allocations: 23.94 kB / 1.008 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008308/0.01837, allocations: 359.3 kB / 1.008 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.01849, allocations: 112.7 kB / 1.009 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.875e-05/0.01856, allocations: 13.48 kB / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.01862, allocations: 24.48 kB / 1.009 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/0.01862, allocations: 4 kB / 1.009 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.005601/0.02423, allocations: 1.742 MB / 1.01 GB, free: 12.53 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.617237199097872]