Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001078/0.001078, allocations: 83.58 kB / 20.45 MB, free: 4.133 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.001087/0.001087, allocations: 165 kB / 23.82 MB, free: 0.7656 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 0.9776/0.9776, allocations: 177.1 MB / 204.2 MB, free: 5.195 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.835/1.835, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.284e-05, allocations: 5.125 kB / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001397/0.00143, allocations: 0.6765 MB / 0.8123 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008566/0.002286, allocations: 0.8635 MB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.002319, allocations: 0 / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.002351, allocations: 5.016 kB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.273e-05/0.002424, allocations: 11.88 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.002607, allocations: 4.781 kB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.605e-05/0.002683, allocations: 27.92 kB / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.002775, allocations: 1.688 kB / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.00285, allocations: 19.97 kB / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.249e-05/0.002883, allocations: 7.984 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.002897, allocations: 4 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.755e-05/0.002945, allocations: 7.938 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.002962, allocations: 9.469 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.002981, allocations: 4 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.003092, allocations: 23.91 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.003095, allocations: 0 / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003096, allocations: 0.5938 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.003101, allocations: 0 / 0.8132 GB, free: 0 / 0.7605 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.0003627/0.003463, allocations: 361.5 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.003505, allocations: 12.03 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.00362, allocations: 10.53 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.003721, allocations: 112.6 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.003735, allocations: 384 / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.003746, allocations: 4.375 kB / 0.8137 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.003893, allocations: 57.55 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.003904, allocations: 192 / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.003914, allocations: 4.312 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.003924, allocations: 384 / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.003955, allocations: 11.88 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.004251, allocations: 243.8 kB / 0.814 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.363e-05/0.004305, allocations: 31.59 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.004326, allocations: 8.406 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.004341, allocations: 0 / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.004362, allocations: 37.98 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.004363, allocations: 0 / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001586/0.004522, allocations: 55.17 kB / 0.8141 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.004554, allocations: 51.41 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.004631, allocations: 157.9 kB / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.004642, allocations: 30.2 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.004691, allocations: 130.9 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.004711, allocations: 4.547 kB / 0.8145 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.004743, allocations: 20.16 kB / 0.8145 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.004894, allocations: 496.1 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.004913, allocations: 5.156 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.004926, allocations: 0 / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.062e-05/0.004966, allocations: 20.98 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.004969, allocations: 0 / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.748e-05/0.005037, allocations: 37.7 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.005054, allocations: 9.75 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.005062, allocations: 3.938 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.005078, allocations: 0 / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.792e-05/0.005176, allocations: 7.984 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.005181, allocations: 0 / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.005202, allocations: 8.875 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.005208, allocations: 0 / 0.8151 GB, free: 13.91 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 7.132e-05/0.005279, allocations: 153.4 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.005293, allocations: 4 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.991e-05/0.005382, allocations: 51.09 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.005387, allocations: 4 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.005391, allocations: 192 / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005394, allocations: 0 / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.005534, allocations: 124.6 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005536, allocations: 3.938 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.005572, allocations: 6.781 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.005575, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.005582, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.005586, allocations: 7.922 kB / 0.8154 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.005589, allocations: 8 kB / 0.8154 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.248e-05/0.005682, allocations: 183.9 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.005687, allocations: 1.469 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.005697, allocations: 4 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.205e-05/0.005729, allocations: 7.922 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.005763, allocations: 4 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.005767, allocations: 0.5 kB / 0.8156 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.005802, allocations: 131.7 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005802, allocations: 0 / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000134/0.005936, allocations: 5.375 kB / 0.8158 GB, free: 13.16 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 8.532e-05/0.006021, allocations: 91.25 kB / 0.8158 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.418e-05/0.006105, allocations: 12.22 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.006107, allocations: 5.125 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.767e-05/0.006124, allocations: 11.62 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.006316, allocations: 18.98 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.00674, allocations: 126.1 kB / 0.816 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.247e-05/0.006773, allocations: 51.36 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.719e-05/0.00679, allocations: 4 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.006815, allocations: 8.5 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.006816, allocations: 0 / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.002206/0.009022, allocations: 0.493 MB / 0.8166 GB, free: 12.32 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.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.004439438227564]