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.002588/0.002588, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002368/0.002368, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.683/1.683, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 3.032/3.032, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.325e-06/2.325e-06, allocations: 0 / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.145e-05, allocations: 3.312 kB / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002214/0.002245, allocations: 0.7016 MB / 0.8116 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003418, allocations: 0.8369 MB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.003453, allocations: 0 / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.003477, allocations: 3.938 kB / 0.8124 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.33e-05/0.003551, allocations: 8.672 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 9.7e-05/0.003648, allocations: 16.83 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.117e-05/0.003739, allocations: 47.84 kB / 0.8125 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.77e-05/0.003827, allocations: 4 kB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.561e-05/0.003922, allocations: 28.58 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.003969, allocations: 13.22 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.003991, allocations: 4 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.004004, allocations: 4 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.004027, allocations: 11.92 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.004059, allocations: 12.89 kB / 0.8125 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.004174, allocations: 43.81 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004177, allocations: 0.8125 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.383e-06/0.004178, allocations: 0 / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.004182, allocations: 4.875 kB / 0.8126 GB, free: 308 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.0005815/0.004764, allocations: 372.2 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.004802, allocations: 13.28 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.004854, allocations: 8.891 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.00498, allocations: 108.6 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.004995, allocations: 10.16 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.005006, allocations: 384 / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.005207, allocations: 58.17 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.005217, allocations: 192 / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.005231, allocations: 5.562 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.005236, allocations: 4.375 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.005411, allocations: 40.91 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.00584, allocations: 275.7 kB / 0.8134 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.006001, allocations: 52.02 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.00612, allocations: 27.77 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.006143, allocations: 5.812 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.006185, allocations: 41.38 kB / 0.8136 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 3.267e-06/0.006189, allocations: 3.984 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004002/0.006589, allocations: 95.12 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.006643, allocations: 55.34 kB / 0.8137 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.006798, allocations: 173.9 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.006819, allocations: 26.27 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.006905, allocations: 138.8 kB / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.006928, allocations: 9.359 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.006975, allocations: 23.38 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002782/0.007253, allocations: 496.1 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.007345, allocations: 16.61 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-05/0.007429, allocations: 24.69 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.007596, allocations: 53.53 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007597, allocations: 0 / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002128/0.00781, allocations: 73.62 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.00783, allocations: 16.5 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007834, allocations: 3.938 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.007847, allocations: 0.7188 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.007959, allocations: 17.2 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.007964, allocations: 0 / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.008012, allocations: 4 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.008022, allocations: 4.828 kB / 0.8147 GB, free: 13.9 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.0001216/0.008143, allocations: 161.8 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.008167, allocations: 0 / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.00843, allocations: 90.41 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008432, allocations: 0 / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.008435, allocations: 0.9375 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.008438, allocations: 0 / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.008606, allocations: 120.6 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.008607, allocations: 1.344 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.008679, allocations: 15.92 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.00868, allocations: 0 / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.00869, allocations: 4.875 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.008694, allocations: 3.938 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008695, allocations: 2.094 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.00902, allocations: 227.9 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-06/0.009027, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.009042, allocations: 4 kB / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.009123, allocations: 12.55 kB / 0.8153 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.009165, allocations: 432 / 0.8153 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.009172, allocations: 7.438 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.709e-05/0.009259, allocations: 135.2 kB / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009259, allocations: 0 / 0.8155 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000205/0.009464, allocations: 12 kB / 0.8155 GB, free: 13.05 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.000133/0.009597, allocations: 99.12 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.009848, allocations: 59.62 kB / 0.8156 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.00985, allocations: 0.5 kB / 0.8156 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.00996, allocations: 32.27 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.01021, allocations: 11.77 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.01056, allocations: 138.2 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.086e-05/0.01064, allocations: 79.8 kB / 0.8159 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.01067, allocations: 4.562 kB / 0.8159 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.01071, allocations: 9.594 kB / 0.8159 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of SimCode: time 4.2e-07/0.01071, allocations: 0 / 0.8159 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.003476/0.01418, allocations: 0.7337 MB / 0.8166 GB, free: 11.86 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] 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.229795119026676]