Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.000992/0.000992, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009877/0.0009877, allocations: 181 kB / 24.09 MB, free: 416 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.9218/0.9218, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.944/1.944, allocations: 377.9 MB / 0.624 GB, free: 8.383 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8121 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.682e-05, allocations: 3.875 kB / 0.8121 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001388/0.001415, allocations: 0.6844 MB / 0.8127 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008229/0.002238, allocations: 0.8557 MB / 0.8136 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.002279, allocations: 3.938 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.002305, allocations: 0.8438 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.435e-05/0.002369, allocations: 11.94 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.002526, allocations: 8.953 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.428e-05/0.002581, allocations: 23.92 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.002661, allocations: 9.484 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.488e-05/0.002736, allocations: 11.98 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.854e-05/0.002774, allocations: 11.92 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.002789, allocations: 4 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.392e-05/0.002843, allocations: 13.66 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.002858, allocations: 0 / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.564e-05/0.002873, allocations: 4 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.002982, allocations: 19.97 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.002986, allocations: 3.984 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.71e-07/0.002986, allocations: 1.75 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.00299, allocations: 3.938 kB / 0.8137 GB, free: 15.72 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000308/0.003298, allocations: 360.6 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.003336, allocations: 8.031 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.00341, allocations: 6.281 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.858e-05/0.003479, allocations: 112.6 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.003487, allocations: 384 / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-06/0.003492, allocations: 384 / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.664e-05/0.003589, allocations: 57.31 kB / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.003594, allocations: 192 / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.003601, allocations: 4.375 kB / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.003606, allocations: 384 / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.983e-05/0.003626, allocations: 11.92 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.003828, allocations: 232.4 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.791e-05/0.003866, allocations: 31.81 kB / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.003883, allocations: 8.219 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.0039, allocations: 5.719 kB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.003921, allocations: 33.39 kB / 0.8145 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.003922, allocations: 0 / 0.8145 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001194/0.004041, allocations: 50.19 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.004065, allocations: 51.41 kB / 0.8146 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.053e-05/0.004126, allocations: 163.2 kB / 0.8148 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.004135, allocations: 29.7 kB / 0.8148 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.004171, allocations: 126.9 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.004185, allocations: 5.109 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.004209, allocations: 19.38 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.004325, allocations: 496.1 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.004335, allocations: 1.375 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-06/0.004344, allocations: 4 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.004374, allocations: 15.69 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.004376, allocations: 1.156 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.562e-05/0.004431, allocations: 41.62 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.004442, allocations: 4.531 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.004447, allocations: 0 / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.004462, allocations: 4.75 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.18e-05/0.004523, allocations: 8 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.004526, allocations: 0.8438 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/0.004542, allocations: 0 / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004547, allocations: 9.688 kB / 0.8155 GB, free: 13.67 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 (2): * Single equations (assignments): 2 * 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 6.796e-05/0.004615, allocations: 160.5 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.004629, allocations: 4 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.64e-05/0.004705, allocations: 45.75 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.004708, allocations: 3.938 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.004709, allocations: 0 / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.004712, allocations: 2.281 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.959e-05/0.004812, allocations: 105.2 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004813, allocations: 0 / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.004839, allocations: 11.98 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.004841, allocations: 0 / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.004845, allocations: 0 / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.004846, allocations: 2.062 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.004847, allocations: 0 / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.004957, allocations: 183.9 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.004965, allocations: 3.984 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.004973, allocations: 3.938 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.005004, allocations: 4.5 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.005038, allocations: 4.531 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.005042, allocations: 5.844 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.876e-05/0.005091, allocations: 127.2 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005091, allocations: 0 / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001388/0.00523, allocations: 4 kB / 0.8162 GB, free: 12.96 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 (2): * Single equations (assignments): 2 * 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.0001026/0.005333, allocations: 91.94 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.991e-05/0.005402, allocations: 16.34 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.005404, allocations: 0 / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.907e-05/0.005423, allocations: 23.69 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.005594, allocations: 0 / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.005795, allocations: 118.4 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.093e-05/0.005826, allocations: 59.3 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.316e-05/0.005839, allocations: 0 / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.005879, allocations: 70.2 kB / 0.8165 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of SimCode: time 6.02e-07/0.005879, allocations: 0 / 0.8165 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.00198/0.00786, allocations: 0.5068 MB / 0.817 GB, free: 12.04 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.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.064464715309441]