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.001087/0.001087, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001262/0.001262, allocations: 166 kB / 24.87 MB, free: 9.258 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.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.5 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 2/2, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.505e-06/2.505e-06, allocations: 0 / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.935e-05, allocations: 6.25 kB / 0.8129 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001624/0.001654, allocations: 0.7126 MB / 0.8136 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.002654, allocations: 0.8441 MB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.00271, allocations: 4 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.002745, allocations: 3.938 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.002851, allocations: 8.578 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 8.434e-05/0.002935, allocations: 13.23 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.884e-05/0.003034, allocations: 47.8 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.003148, allocations: 11.98 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.003244, allocations: 22.41 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.003286, allocations: 19.92 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.003305, allocations: 4 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.003313, allocations: 4 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.003333, allocations: 7.984 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.003354, allocations: 8 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.579e-05/0.00344, allocations: 27.84 kB / 0.8145 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003442, allocations: 1.531 kB / 0.8146 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003443, allocations: 0 / 0.8146 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.003448, allocations: 0 / 0.8146 GB, free: 15.65 MB / 0.7761 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.0003783/0.003827, allocations: 378 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.003871, allocations: 16.02 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.003902, allocations: 4.891 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.004013, allocations: 112.6 kB / 0.815 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.004027, allocations: 8.906 kB / 0.815 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.004037, allocations: 1.281 kB / 0.815 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.004166, allocations: 70.88 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.004173, allocations: 0.9688 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.004179, allocations: 384 / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004184, allocations: 4.906 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.004205, allocations: 7.938 kB / 0.8151 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.004451, allocations: 245.8 kB / 0.8154 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.95e-05/0.00451, allocations: 34.98 kB / 0.8154 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.004532, allocations: 16.83 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.004539, allocations: 4 kB / 0.8154 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.004561, allocations: 33.39 kB / 0.8154 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/0.004563, allocations: 4.828 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001331/0.004696, allocations: 49.72 kB / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.004732, allocations: 51.94 kB / 0.8156 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.004813, allocations: 169.8 kB / 0.8157 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.004825, allocations: 30.42 kB / 0.8157 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.004882, allocations: 138.8 kB / 0.8159 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.004905, allocations: 9.094 kB / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.004938, allocations: 19.38 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.005083, allocations: 496.1 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.005101, allocations: 5.094 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/0.005113, allocations: 0 / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.005148, allocations: 23.67 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00515, allocations: 3.25 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.326e-05/0.005214, allocations: 37.66 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.005228, allocations: 8 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005233, allocations: 0 / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.005245, allocations: 7.922 kB / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.005324, allocations: 11.94 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-06/0.005327, allocations: 0 / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.657e-05/0.005353, allocations: 11.98 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.005359, allocations: 0.5 kB / 0.8165 GB, free: 13.48 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.433e-05/0.005434, allocations: 158.5 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.00545, allocations: 0 / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.005475, allocations: 8 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.00548, allocations: 7.938 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.005482, allocations: 0 / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.005486, allocations: 1.469 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.005591, allocations: 101.2 kB / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.005593, allocations: 0 / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.005625, allocations: 11.98 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005626, allocations: 1.125 kB / 0.8168 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.005631, allocations: 4 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005631, allocations: 0 / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005632, allocations: 0.5312 kB / 0.8168 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.005734, allocations: 204.7 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.005739, allocations: 0 / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-06/0.005747, allocations: 4 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.005785, allocations: 8.828 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.005817, allocations: 7.938 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.005819, allocations: 5.219 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.005859, allocations: 135.5 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005859, allocations: 0 / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001378/0.005997, allocations: 4.75 kB / 0.8171 GB, free: 12.79 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.872e-05/0.006096, allocations: 96.12 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.052e-05/0.006166, allocations: 16.05 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006168, allocations: 5.562 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.11e-05/0.006189, allocations: 19.7 kB / 0.8172 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.006391, allocations: 8.234 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.00664, allocations: 139.6 kB / 0.8174 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.006673, allocations: 59.3 kB / 0.8174 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.006693, allocations: 0 / 0.8174 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.00675, allocations: 78.19 kB / 0.8175 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.006751, allocations: 0.875 kB / 0.8175 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.002295/0.009045, allocations: 0.8129 MB / 0.8183 GB, free: 11.52 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.352988705039024]