Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001121/0.001121, 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.001174/0.001174, 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 0.9826/0.9826, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.923/1.923, 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8116 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.7e-05, allocations: 2.906 kB / 0.8116 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00149/0.001507, allocations: 0.5984 MB / 0.8122 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.617e-05/0.001553, allocations: 4 kB / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.001582, allocations: 1.594 kB / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.001606, allocations: 0 / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.462e-05/0.00163, allocations: 0 / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.037e-05/0.001661, allocations: 0 / 0.8122 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.00172, allocations: 7.938 kB / 0.8122 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.001765, allocations: 5.672 kB / 0.8122 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.633e-05/0.001792, allocations: 0 / 0.8122 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.962e-05/0.001811, allocations: 0 / 0.8122 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.001828, allocations: 0 / 0.8122 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.506e-06/0.001832, allocations: 4.906 kB / 0.8122 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.001844, allocations: 3.984 kB / 0.8122 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.001861, allocations: 3.938 kB / 0.8122 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.008e-05/0.001922, allocations: 4.531 kB / 0.8122 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.001924, allocations: 0.6875 kB / 0.8122 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.21e-07/0.001924, allocations: 0 / 0.8122 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.001928, allocations: 0.5312 kB / 0.8122 GB, free: 1.41 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000274/0.002202, allocations: 341.7 kB / 0.8125 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.002242, allocations: 12.03 kB / 0.8125 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.00227, allocations: 0.9375 kB / 0.8125 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.491e-05/0.002345, allocations: 105.2 kB / 0.8126 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.002353, allocations: 384 / 0.8126 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-06/0.002361, allocations: 5.75 kB / 0.8126 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.11e-05/0.002422, allocations: 30.27 kB / 0.8127 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.999e-06/0.002427, allocations: 192 / 0.8127 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.002434, allocations: 1.531 kB / 0.8127 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.00244, allocations: 384 / 0.8127 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.298e-05/0.002453, allocations: 11.88 kB / 0.8127 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002533/0.002707, allocations: 471.4 kB / 0.8131 GB, free: 360 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 7.724e-05/0.002784, allocations: 265.4 kB / 0.8134 GB, free: 80 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.002827, allocations: 126.9 kB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.002854, allocations: 128.2 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.002893, allocations: 152.6 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.002894, allocations: 0 / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.284e-05/0.002947, allocations: 30.48 kB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.003001, allocations: 170.6 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.003075, allocations: 158.8 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.003084, allocations: 25.7 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.003286, allocations: 131.7 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.003288, allocations: 0 / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.003307, allocations: 20.66 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.003414, allocations: 492.1 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-06/0.003418, allocations: 0 / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-06/0.003422, allocations: 8.719 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.923e-05/0.003451, allocations: 119.2 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.651e-05/0.003478, allocations: 119.2 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.829e-05/0.003516, allocations: 31.27 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.003552, allocations: 123.2 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/0.003584, allocations: 131.1 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.9e-05/0.003643, allocations: 243.6 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-05/0.00367, allocations: 123.2 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.142e-05/0.003722, allocations: 250.5 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.003771, allocations: 120.8 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.003796, allocations: 119.2 kB / 0.8161 GB, free: 13.23 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 (0): * Single equations (assignments): 0 * 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.0001124/0.003908, allocations: 398.9 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.003951, allocations: 148.9 kB / 0.8166 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.003996, allocations: 158.6 kB / 0.8167 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.512e-05/0.004051, allocations: 272 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-05/0.004117, allocations: 268.1 kB / 0.8173 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-05/0.004172, allocations: 268 kB / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.004317, allocations: 499.9 kB / 0.818 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/0.004351, allocations: 152.9 kB / 0.8181 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.004382, allocations: 152.8 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.203e-05/0.004434, allocations: 264.6 kB / 0.8185 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.004487, allocations: 272.5 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.393e-05/0.004541, allocations: 272 kB / 0.8191 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.332e-05/0.004594, allocations: 266 kB / 0.8193 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.004708, allocations: 447.9 kB / 0.8197 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.004743, allocations: 156.8 kB / 0.8199 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.004803, allocations: 264.1 kB / 0.8201 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.89e-05/0.004852, allocations: 148.8 kB / 0.8203 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.00491, allocations: 272.7 kB / 0.8205 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.00494, allocations: 149.2 kB / 0.8207 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.004975, allocations: 123.8 kB / 0.8208 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004975, allocations: 2.875 kB / 0.8208 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001632/0.005138, allocations: 0 / 0.8208 GB, free: 8.188 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 (0): * Single equations (assignments): 0 * 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 8.589e-05/0.005224, allocations: 214.4 kB / 0.821 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 3.506e-05/0.005259, allocations: 7.938 kB / 0.821 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.00526, allocations: 0 / 0.821 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.005261, allocations: 3.938 kB / 0.821 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.005745, allocations: 0.701 MB / 0.8217 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001817/0.005927, allocations: 212.7 kB / 0.8219 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.959e-05/0.005956, allocations: 55.34 kB / 0.822 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.543e-06/0.005958, allocations: 0 / 0.822 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-06/0.005967, allocations: 8.5 kB / 0.822 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.005968, allocations: 0 / 0.822 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of Templates: time 0.001275/0.007243, allocations: 171.9 kB / 0.8221 GB, free: 6.77 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.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.216721963137388]