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.001563/0.001563, 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.002105/0.002105, allocations: 157.2 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.52/1.52, allocations: 177.2 MB / 203.4 MB, free: 8.961 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 3.053/3.053, allocations: 394.2 MB / 0.6386 GB, free: 11.9 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002187/0.002187, allocations: 63.89 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002145/1.044, allocations: 1.013 MB / 1.188 GB, free: 15.55 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00118/1.045, allocations: 1.024 MB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/1.045, allocations: 6.562 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/1.046, allocations: 20.53 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.018e-05/1.046, allocations: 18.33 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/1.046, allocations: 77.64 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/1.046, allocations: 180.8 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/1.046, allocations: 59.11 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/1.046, allocations: 74.5 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/1.046, allocations: 70.31 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/1.046, allocations: 15.97 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/1.047, allocations: 19.55 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/1.047, allocations: 41.2 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/1.047, allocations: 62.27 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/1.047, allocations: 187.1 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.047, allocations: 1.094 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/1.047, allocations: 4 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.482e-06/1.047, allocations: 0 / 1.189 GB, free: 14.38 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.0007974/1.048, allocations: 431.6 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/1.048, allocations: 9.344 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/1.048, allocations: 20.66 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/1.048, allocations: 164.2 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/1.048, allocations: 19.34 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/1.048, allocations: 15.44 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/1.049, allocations: 180.3 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.049, allocations: 0 / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.049, allocations: 6.438 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/1.049, allocations: 3.25 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/1.049, allocations: 108.5 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/1.05, allocations: 441.6 kB / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/1.05, allocations: 128.6 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/1.05, allocations: 78.62 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/1.05, allocations: 6.984 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/1.051, allocations: 154.9 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/1.051, allocations: 3.984 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.0005441/1.051, allocations: 222 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/1.051, allocations: 52.88 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/1.051, allocations: 145.4 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.051, allocations: 31.78 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/1.051, allocations: 120.5 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/1.051, allocations: 68.12 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/1.051, allocations: 41.19 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.914e-05/1.051, allocations: 327.1 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/1.052, allocations: 64.62 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/1.052, allocations: 98.19 kB / 1.192 GB, free: 12.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/1.052, allocations: 146.9 kB / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.052, allocations: 0 / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004869/1.053, allocations: 219.8 kB / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/1.053, allocations: 4.875 kB / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.053, allocations: 0.7969 kB / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.053, allocations: 2.344 kB / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/1.053, allocations: 39.66 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.053, allocations: 6.406 kB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/1.053, allocations: 26.2 kB / 1.193 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/1.053, allocations: 5.156 kB / 1.193 GB, free: 12.13 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 8.341e-05/1.053, allocations: 130.2 kB / 1.193 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/1.053, allocations: 15.19 kB / 1.193 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004205/1.054, allocations: 189.9 kB / 1.193 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.054, allocations: 6.219 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.054, allocations: 0.6094 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.054, allocations: 0.6562 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/1.054, allocations: 0.5064 MB / 1.194 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/1.054, allocations: 6.797 kB / 1.194 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/1.055, allocations: 45.08 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.055, allocations: 2.188 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/1.055, allocations: 7.875 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.055, allocations: 3.109 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.055, allocations: 2.812 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/1.055, allocations: 381.4 kB / 1.194 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/1.055, allocations: 20 kB / 1.194 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/1.055, allocations: 12.08 kB / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/1.055, allocations: 12.86 kB / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/1.055, allocations: 21.58 kB / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/1.055, allocations: 11.44 kB / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.963e-05/1.056, allocations: 106 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.056, allocations: 0 / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002951/1.056, allocations: 33.27 kB / 1.194 GB, free: 11.12 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 9.961e-05/1.056, allocations: 114.2 kB / 1.194 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004318/1.056, allocations: 155.5 kB / 1.194 GB, free: 10.97 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.056, allocations: 1.219 kB / 1.194 GB, free: 10.97 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/1.057, allocations: 79.97 kB / 1.194 GB, free: 10.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/1.057, allocations: 27.62 kB / 1.195 GB, free: 10.93 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/1.057, allocations: 385.2 kB / 1.195 GB, free: 10.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.235e-05/1.058, allocations: 122.8 kB / 1.195 GB, free: 10.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.908e-05/1.058, allocations: 18.91 kB / 1.195 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/1.058, allocations: 19.81 kB / 1.195 GB, free: 10.53 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/1.058, allocations: 0 / 1.195 GB, free: 10.53 MB / 1.076 GB Notification: Performance of Templates: time 0.005325/1.063, allocations: 1.743 MB / 1.197 GB, free: 10.31 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.39677643799223]