Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001003/0.001003, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001075/0.001075, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.045/1.045, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.934/1.934, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0.6562 kB / 0.8116 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.396e-05, allocations: 6.844 kB / 0.8116 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001589/0.001623, allocations: 0.7201 MB / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002642, allocations: 0.8446 MB / 0.8131 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.002685, allocations: 3.938 kB / 0.8131 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.002716, allocations: 4 kB / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.002791, allocations: 5.562 kB / 0.8131 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.78e-05/0.002859, allocations: 11.98 kB / 0.8132 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.74e-05/0.002946, allocations: 47.84 kB / 0.8132 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.003049, allocations: 5.281 kB / 0.8132 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.886e-05/0.003138, allocations: 27.91 kB / 0.8132 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.003181, allocations: 19.97 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.00321, allocations: 4 kB / 0.8133 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.003218, allocations: 5.594 kB / 0.8133 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.003236, allocations: 7.938 kB / 0.8133 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.003262, allocations: 11.98 kB / 0.8133 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.831e-05/0.003351, allocations: 27.84 kB / 0.8133 GB, free: 292 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.003354, allocations: 6.406 kB / 0.8133 GB, free: 288 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003356, allocations: 0 / 0.8133 GB, free: 288 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.003361, allocations: 0 / 0.8133 GB, free: 288 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.0004137/0.003774, allocations: 376.6 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.003816, allocations: 12.03 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.003859, allocations: 4.891 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.003964, allocations: 117.3 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.003979, allocations: 8.359 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.00399, allocations: 4.906 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.00414, allocations: 60.59 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.004153, allocations: 192 / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.004166, allocations: 8.375 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.004175, allocations: 384 / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.658e-05/0.004212, allocations: 12.53 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.004549, allocations: 259.8 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.006e-05/0.004629, allocations: 36.2 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.004661, allocations: 15.69 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.00467, allocations: 5.156 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.004694, allocations: 37.33 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.004695, allocations: 0 / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001688/0.004864, allocations: 55.08 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.004895, allocations: 51.41 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/0.004994, allocations: 169.9 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.005005, allocations: 25.7 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.005062, allocations: 136.6 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.005085, allocations: 7.938 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.005125, allocations: 23.38 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003346/0.005459, allocations: 496.1 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.005486, allocations: 0.625 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/0.005502, allocations: 4 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.005545, allocations: 24.33 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.005548, allocations: 0 / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.253e-05/0.00563, allocations: 46.5 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.005651, allocations: 7.938 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.005657, allocations: 1.844 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.005676, allocations: 3.984 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.005782, allocations: 11.94 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.00579, allocations: 4 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.005818, allocations: 8.766 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.005826, allocations: 4.312 kB / 0.8153 GB, free: 14.09 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 7.923e-05/0.005905, allocations: 155 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.005922, allocations: 7.938 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.00595, allocations: 11.94 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.005952, allocations: 0 / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.005957, allocations: 0 / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.005961, allocations: 4 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.006068, allocations: 118.6 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.006069, allocations: 0 / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.006107, allocations: 11.98 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.006109, allocations: 0 / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.006117, allocations: 4 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.00612, allocations: 4.438 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.006121, allocations: 1.906 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.006239, allocations: 191.9 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.006246, allocations: 0 / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.006261, allocations: 8 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.006302, allocations: 11.92 kB / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.006345, allocations: 9.078 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.006348, allocations: 0 / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.006389, allocations: 135.2 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006389, allocations: 0.6562 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001406/0.00653, allocations: 4 kB / 0.8159 GB, free: 13.36 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 9.694e-05/0.006627, allocations: 98.88 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.814e-05/0.006725, allocations: 19.67 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.006727, allocations: 4 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.271e-05/0.00675, allocations: 12.16 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.006964, allocations: 11.98 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.007276, allocations: 136.2 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.007315, allocations: 63.28 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.957e-05/0.007334, allocations: 0 / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.007364, allocations: 12.5 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.007365, allocations: 8.875 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of Templates: time 0.002632/0.009997, allocations: 0.7329 MB / 0.817 GB, free: 12.24 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.351793501991779]