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.001648/0.001648, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001983/0.001983, allocations: 215.4 kB / 22.25 MB, free: 5.262 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.785 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.303/3.303, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.002117/0.002117, allocations: 72.02 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4363, allocations: 176.1 MB / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002522/0.4388, allocations: 1.009 MB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.4403, allocations: 1.022 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.4405, allocations: 4 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.4406, allocations: 23.73 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.271e-05/0.4407, allocations: 23.8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.441, allocations: 75.8 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.4412, allocations: 172.1 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.4414, allocations: 64.33 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.4415, allocations: 75.7 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.4417, allocations: 63.67 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.4417, allocations: 19.94 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.408e-05/0.4418, allocations: 24 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.4418, allocations: 35.91 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.4419, allocations: 59.66 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.4421, allocations: 195.1 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4422, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4422, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.4422, allocations: 0 / 1.328 GB, free: 14.93 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.0008746/0.443, allocations: 430.3 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.4431, allocations: 8.031 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.4432, allocations: 24.8 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.4435, allocations: 170.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.4435, allocations: 8.375 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.4436, allocations: 20.36 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.4439, allocations: 187.2 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.444, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.444, allocations: 8 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.444, allocations: 4 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.4443, allocations: 107.9 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.4454, allocations: 432 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.4458, allocations: 134.7 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.446, allocations: 82.31 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.446, allocations: 7.906 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.4463, allocations: 149 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.4463, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0005765/0.4469, allocations: 219.1 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.4469, allocations: 55.41 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.4471, allocations: 147.7 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.4471, allocations: 37.64 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.4472, allocations: 120.4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.722e-05/0.4473, allocations: 71.41 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.4473, allocations: 41.7 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4475, allocations: 322.8 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.4477, allocations: 67.95 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.4479, allocations: 86.89 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.4483, allocations: 147.6 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4483, allocations: 4 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005151/0.4488, allocations: 206 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4488, allocations: 7.984 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4488, allocations: 4 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4488, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.449, allocations: 47.95 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.449, allocations: 3.984 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.4492, allocations: 27.86 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.4492, allocations: 4 kB / 1.332 GB, free: 11.41 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.0001383/0.4493, allocations: 133.7 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.4493, allocations: 15.91 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.4498, allocations: 186.7 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4498, allocations: 4 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4498, allocations: 0 / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4498, allocations: 0 / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008467/0.4507, allocations: 0.5068 MB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4507, allocations: 4.031 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.4508, allocations: 39.91 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4509, allocations: 4 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.4509, allocations: 11.94 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4509, allocations: 0 / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4509, allocations: 4 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.4515, allocations: 376.9 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.4515, allocations: 31.81 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.4516, allocations: 8 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.4517, allocations: 15.98 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.4518, allocations: 23.84 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.4518, allocations: 15.92 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.54e-05/0.4519, allocations: 109.3 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4519, allocations: 0 / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000289/0.4522, allocations: 31.95 kB / 1.333 GB, free: 9.805 MB / 1.029 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.0001554/0.4524, allocations: 119.2 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.4528, allocations: 151.8 kB / 1.333 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4528, allocations: 0 / 1.333 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.453, allocations: 83.84 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.4534, allocations: 24.42 kB / 1.333 GB, free: 9.426 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.4541, allocations: 384.1 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.4542, allocations: 112.2 kB / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.045e-05/0.4543, allocations: 17.42 kB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.4544, allocations: 19.42 kB / 1.334 GB, free: 8.836 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4544, allocations: 0 / 1.334 GB, free: 8.836 MB / 1.029 GB Notification: Performance of Templates: time 0.005594/0.4599, allocations: 1.857 MB / 1.336 GB, free: 7.008 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.71861920133233]