Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001262/0.001262, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.001329/0.001329, allocations: 204 kB / 20.09 MB, free: 2.977 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.469/1.469, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.976/2.976, allocations: 0.49 GB / 0.7923 GB, free: 1.242 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [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.002065/0.002065, allocations: 73.92 kB / 1.15 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.962/0.9641, allocations: 176.1 MB / 1.322 GB, free: 25.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001857/0.9659, allocations: 0.7152 MB / 1.323 GB, free: 24.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008671/0.9668, allocations: 0.8436 MB / 1.324 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.9668, allocations: 0 / 1.324 GB, free: 24.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.9668, allocations: 3.938 kB / 1.324 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.9669, allocations: 6.906 kB / 1.324 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.892e-05/0.967, allocations: 10.7 kB / 1.324 GB, free: 24.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.842e-05/0.9671, allocations: 48.66 kB / 1.324 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.9672, allocations: 8.359 kB / 1.324 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/0.9673, allocations: 24.06 kB / 1.324 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.9673, allocations: 24.06 kB / 1.324 GB, free: 24.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.9674, allocations: 3.344 kB / 1.324 GB, free: 24.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.9674, allocations: 5.281 kB / 1.324 GB, free: 24.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.9674, allocations: 4 kB / 1.324 GB, free: 24.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.9674, allocations: 25.34 kB / 1.324 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.588e-05/0.9675, allocations: 37.55 kB / 1.324 GB, free: 24.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9675, allocations: 0 / 1.324 GB, free: 24.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9675, allocations: 4 kB / 1.324 GB, free: 24.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.9675, allocations: 0 / 1.324 GB, free: 24.07 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004847/0.968, allocations: 360 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.9681, allocations: 15.98 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.9681, allocations: 0.9375 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.9682, allocations: 175.3 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.9682, allocations: 7.219 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.9682, allocations: 384 / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.9685, allocations: 76.17 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.9685, allocations: 3.188 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.9685, allocations: 3.938 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.9685, allocations: 0 / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.9688, allocations: 63.31 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.9691, allocations: 262.5 kB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.9693, allocations: 62.66 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.9694, allocations: 42.44 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.9694, allocations: 0 / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.9695, allocations: 34.56 kB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.9695, allocations: 2.844 kB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005417/0.97, allocations: 127 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.97, allocations: 55.34 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.9701, allocations: 115.8 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.9701, allocations: 25.7 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.9701, allocations: 98.33 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.9702, allocations: 11.84 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.9702, allocations: 12.66 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.9702, allocations: 320.8 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.9704, allocations: 34.31 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.9705, allocations: 31.73 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.9708, allocations: 64.59 kB / 1.326 GB, free: 22.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9708, allocations: 3.938 kB / 1.326 GB, free: 22.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003192/0.9711, allocations: 102.8 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.9711, allocations: 6.188 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9711, allocations: 0 / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.9711, allocations: 0 / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.9713, allocations: 22.09 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.9713, allocations: 0 / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.9714, allocations: 11.86 kB / 1.326 GB, free: 22.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.9714, allocations: 6.969 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.654e-05/0.9714, allocations: 113.8 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.9715, allocations: 6.797 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.9718, allocations: 107.5 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9718, allocations: 0 / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9718, allocations: 4 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.9718, allocations: 0 / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.9719, allocations: 165.3 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.972, allocations: 3.188 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.972, allocations: 20.08 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.972, allocations: 3 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.9721, allocations: 0 / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9721, allocations: 0 / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9721, allocations: 0 / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.9724, allocations: 195.4 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.9724, allocations: 83.94 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.9724, allocations: 0 / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.9725, allocations: 19.05 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.9726, allocations: 3.938 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.9726, allocations: 6.906 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.9726, allocations: 87.8 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9726, allocations: 0 / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002151/0.9728, allocations: 5.781 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001277/0.973, allocations: 97.44 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.9733, allocations: 75.64 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9733, allocations: 0 / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.9735, allocations: 34.97 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.9738, allocations: 21.5 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.9741, allocations: 145.1 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.9742, allocations: 0.6842 MB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.9742, allocations: 14.41 kB / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.9742, allocations: 0 / 1.328 GB, free: 20.58 MB / 1.061 GB Notification: Performance of Templates: time 0.002156/0.9764, allocations: 0.7413 MB / 1.328 GB, free: 20.53 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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: 11.425241046992596]