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.001492/0.001492, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001682/0.001682, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.606/1.606, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.908/2.908, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.117e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002166/0.002197, allocations: 0.7124 MB / 0.8116 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.003536, allocations: 0.8276 MB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.003578, allocations: 1.219 kB / 0.8124 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.003609, allocations: 7.938 kB / 0.8124 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.003688, allocations: 11.86 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.003801, allocations: 8.609 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.003914, allocations: 53.25 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.004012, allocations: 8 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.004133, allocations: 23.92 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.096e-05/0.004194, allocations: 15.97 kB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.004218, allocations: 4.688 kB / 0.8125 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.004232, allocations: 4 kB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.004257, allocations: 12.83 kB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.004295, allocations: 11.98 kB / 0.8125 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.004413, allocations: 36.59 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004415, allocations: 0 / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004416, allocations: 0.875 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.00442, allocations: 3.938 kB / 0.8126 GB, free: 284 kB / 0.7605 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.0006296/0.00505, allocations: 287.4 kB / 0.8128 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.005095, allocations: 12.03 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.005148, allocations: 6.578 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.005287, allocations: 113.7 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.005305, allocations: 4.375 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.005316, allocations: 384 / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.005598, allocations: 67.5 kB / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.005607, allocations: 192 / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.005622, allocations: 6.188 kB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.005629, allocations: 4.359 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.005961, allocations: 65.41 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.006369, allocations: 216.5 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.006596, allocations: 51.36 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.006778, allocations: 41.81 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.006806, allocations: 0.625 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.006845, allocations: 34.56 kB / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.006846, allocations: 1.969 kB / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0006381/0.007484, allocations: 130.1 kB / 0.8136 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.007544, allocations: 56.11 kB / 0.8136 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.00769, allocations: 109.8 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.007712, allocations: 26.92 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.007783, allocations: 88.09 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.007811, allocations: 15.89 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.007861, allocations: 10.34 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.00805, allocations: 320 kB / 0.8142 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.008216, allocations: 27.97 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.008371, allocations: 36.86 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.008684, allocations: 62.48 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.008685, allocations: 0.8125 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003794/0.009065, allocations: 108.2 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.009086, allocations: 11.94 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.009091, allocations: 0 / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.009111, allocations: 0 / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.009253, allocations: 20.86 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.009259, allocations: 2.188 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.719e-05/0.009347, allocations: 15.88 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.009355, allocations: 4 kB / 0.8144 GB, free: 14.21 MB / 0.7761 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 0.0001017/0.009457, allocations: 109.8 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.009494, allocations: 12.5 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.009918, allocations: 112.9 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.00992, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.009925, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.009927, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.0101, allocations: 113.3 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.0101, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.01021, allocations: 16.48 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01021, allocations: 0.5 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.01022, allocations: 0 / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.01023, allocations: 4.469 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01023, allocations: 0.5625 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.01069, allocations: 200.8 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.0107, allocations: 4.531 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.01072, allocations: 0 / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.01085, allocations: 21.02 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.0109, allocations: 7.984 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.01091, allocations: 0.6562 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.155e-05/0.01098, allocations: 91.56 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01098, allocations: 5.531 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002384/0.01122, allocations: 4 kB / 0.8151 GB, free: 13.46 MB / 0.7761 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.0001817/0.0114, allocations: 98.91 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004064/0.01181, allocations: 63.92 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01181, allocations: 0 / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.01198, allocations: 39.91 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.01234, allocations: 12.89 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.01277, allocations: 125.6 kB / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.048e-05/0.01286, allocations: 71.14 kB / 0.8155 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.711e-05/0.0129, allocations: 9.047 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.01294, allocations: 8.5 kB / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of SimCode: time 8.41e-07/0.01294, allocations: 5.062 kB / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of Templates: time 0.003678/0.01662, allocations: 0.7372 MB / 0.8163 GB, free: 12.27 MB / 0.7761 GB " [Timeout remaining time 300] 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/jenkins/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: 8.111684900010005]