Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.0009688/0.0009688, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009976/0.0009976, allocations: 169 kB / 24.28 MB, free: 276 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.051/1.051, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.949/1.949, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0.7656 kB / 0.8116 GB, free: 2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.249e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001517/0.001549, allocations: 0.7621 MB / 0.8123 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009122/0.002461, allocations: 0.8868 MB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.002511, allocations: 0.7812 kB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.002543, allocations: 7.922 kB / 0.8132 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.176e-05/0.002625, allocations: 5.625 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.002801, allocations: 35.89 kB / 0.8133 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.002899, allocations: 75.77 kB / 0.8133 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.003012, allocations: 11.98 kB / 0.8133 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.76e-05/0.00311, allocations: 49.42 kB / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.003165, allocations: 27.91 kB / 0.8134 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.003191, allocations: 8 kB / 0.8134 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.003202, allocations: 8 kB / 0.8134 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.003227, allocations: 21.09 kB / 0.8135 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.003256, allocations: 15.92 kB / 0.8135 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.003364, allocations: 59.8 kB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.003367, allocations: 1.594 kB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.343e-06/0.003368, allocations: 0 / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003373, allocations: 0 / 0.8135 GB, free: 36 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004638/0.003836, allocations: 392.5 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.003877, allocations: 10.62 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.003924, allocations: 8.891 kB / 0.8139 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.004048, allocations: 128.5 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.004069, allocations: 384 / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.004081, allocations: 4.375 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.004247, allocations: 82.91 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004255, allocations: 0.9062 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.004266, allocations: 384 / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.004275, allocations: 0.9062 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.049e-05/0.004335, allocations: 29.58 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.004723, allocations: 311.5 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.004843, allocations: 55.58 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.004882, allocations: 20.3 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.0049, allocations: 11.94 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.004926, allocations: 38.17 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.004927, allocations: 0 / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002203/0.005147, allocations: 74.78 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.005185, allocations: 55.41 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.005285, allocations: 175.3 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.005298, allocations: 25.7 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.00566, allocations: 142.8 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.005687, allocations: 23.8 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.005725, allocations: 29.11 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.005834, allocations: 0.4884 MB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.005866, allocations: 8 kB / 0.8156 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.005891, allocations: 11.98 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.059e-05/0.005952, allocations: 32.53 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005954, allocations: 0 / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001011/0.006055, allocations: 66.91 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.006069, allocations: 4 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.006076, allocations: 10.14 kB / 0.8157 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.006091, allocations: 4 kB / 0.8157 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.006192, allocations: 8 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.006198, allocations: 0 / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.006232, allocations: 11.94 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.006238, allocations: 2.656 kB / 0.8157 GB, free: 13.61 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 (6): * Single equations (assignments): 6 * 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.745e-05/0.006315, allocations: 164.5 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.006336, allocations: 7.938 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.006362, allocations: 8.438 kB / 0.8159 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.006365, allocations: 3.984 kB / 0.8159 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.00637, allocations: 4 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.006373, allocations: 0 / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.006494, allocations: 134.3 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.006495, allocations: 3.938 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.006542, allocations: 11.98 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.006545, allocations: 7.938 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.006556, allocations: 8.484 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.006558, allocations: 0.5312 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.006564, allocations: 3.984 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.006721, allocations: 209.5 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.006735, allocations: 11.94 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.00675, allocations: 3.938 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.006794, allocations: 4.5 kB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.006853, allocations: 17.02 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.006858, allocations: 3.984 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.127e-05/0.006909, allocations: 143.5 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006909, allocations: 0.6562 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001524/0.007062, allocations: 8 kB / 0.8164 GB, free: 12.8 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 (6): * Single equations (assignments): 6 * 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.0001086/0.00717, allocations: 102.9 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.007295, allocations: 39.67 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.007297, allocations: 0 / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.004e-05/0.007347, allocations: 31.8 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.007567, allocations: 22.47 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.007927, allocations: 163.8 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.007965, allocations: 59.34 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.008001, allocations: 6.062 kB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.00805, allocations: 24.48 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/0.00805, allocations: 1.125 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.003231/0.01128, allocations: 1.353 MB / 0.8182 GB, free: 10.99 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.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.330285921925679]