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.0009942/0.0009942, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.0009448/0.0009448, allocations: 181 kB / 24.09 MB, free: 420 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 0.9686/0.9686, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.899/1.899, allocations: 377.9 MB / 0.624 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] 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.635e-06/2.635e-06, allocations: 0 / 0.8121 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.531e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001545/0.001581, allocations: 0.7193 MB / 0.8128 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.002509, allocations: 0.8369 MB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.002545, allocations: 0 / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.002571, allocations: 7.922 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.002637, allocations: 8.75 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 5.796e-05/0.002695, allocations: 19.97 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.461e-05/0.002759, allocations: 40.64 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.002849, allocations: 11.98 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.002928, allocations: 25.61 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.526e-05/0.002963, allocations: 11.98 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.002981, allocations: 4 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-06/0.00299, allocations: 4 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.003007, allocations: 9.516 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.003038, allocations: 15.94 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.304e-05/0.003111, allocations: 31.89 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.003114, allocations: 3.984 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003114, allocations: 0.5 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003118, allocations: 0 / 0.8138 GB, free: 15.64 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.0003113/0.003429, allocations: 378.3 kB / 0.8141 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.003466, allocations: 8.031 kB / 0.8141 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.003492, allocations: 20.83 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.528e-05/0.003567, allocations: 112.6 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.003576, allocations: 1.281 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.003582, allocations: 4.312 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.003688, allocations: 67.56 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.003694, allocations: 0.8438 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.0037, allocations: 384 / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.003705, allocations: 5.641 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.003724, allocations: 7.938 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.003941, allocations: 248.3 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.159e-05/0.004003, allocations: 37.61 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.004022, allocations: 11.69 kB / 0.8146 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.004029, allocations: 0 / 0.8146 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.004049, allocations: 37.45 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.00405, allocations: 4 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001093/0.004159, allocations: 45.66 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.004184, allocations: 55.94 kB / 0.8148 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.004252, allocations: 166.6 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.004262, allocations: 25.7 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.004309, allocations: 139.3 kB / 0.8151 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.004327, allocations: 11.94 kB / 0.8151 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.004349, allocations: 17 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.004467, allocations: 0.4884 MB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.004478, allocations: 0 / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.13e-05/0.004489, allocations: 7.984 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.411e-05/0.004513, allocations: 16.27 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.004515, allocations: 0 / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.983e-05/0.004565, allocations: 50.28 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.004577, allocations: 11.17 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004581, allocations: 0 / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.004591, allocations: 4.969 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.00465, allocations: 8 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.004652, allocations: 0 / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.167e-05/0.004674, allocations: 9.359 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.004679, allocations: 4 kB / 0.8157 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 5.979e-05/0.004739, allocations: 153.4 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.004752, allocations: 4 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.004772, allocations: 8 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.004774, allocations: 4.875 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.004776, allocations: 3.938 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.004778, allocations: 1.219 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.807e-05/0.004866, allocations: 101.2 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.004866, allocations: 0 / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.004897, allocations: 16.77 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.004901, allocations: 4 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-06/0.004905, allocations: 2.219 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.004906, allocations: 0 / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.004906, allocations: 0 / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.687e-05/0.005003, allocations: 204.1 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-06/0.00501, allocations: 4 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-06/0.005016, allocations: 0 / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/0.005053, allocations: 10.92 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.005081, allocations: 7.938 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.005084, allocations: 4 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.005119, allocations: 127.5 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005119, allocations: 0 / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001312/0.00525, allocations: 8 kB / 0.8163 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 6.756e-05/0.005317, allocations: 96.62 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.786e-05/0.005375, allocations: 19.67 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-06/0.005376, allocations: 0 / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.005395, allocations: 15.69 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.005568, allocations: 16.55 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.005793, allocations: 132.6 kB / 0.8166 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.871e-05/0.005821, allocations: 55.36 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.005845, allocations: 9.016 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.005894, allocations: 70.2 kB / 0.8167 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.005894, allocations: 0 / 0.8167 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.001999/0.007893, allocations: 0.8048 MB / 0.8175 GB, free: 11.54 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.126719177234918]