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.001427/0.001427, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001477/0.001477, allocations: 177 kB / 24.08 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.9922/0.9922, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.897/1.897, allocations: 377.9 MB / 0.6239 GB, free: 8.379 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 4.168e-06/4.168e-06, allocations: 0 / 0.8121 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/3.231e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001979/0.002012, allocations: 0.6737 MB / 0.8127 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.003181, allocations: 0.8664 MB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.003226, allocations: 0.625 kB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.003259, allocations: 3.938 kB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.147e-05/0.00333, allocations: 5.047 kB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.003521, allocations: 11.98 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.857e-05/0.00359, allocations: 29.33 kB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.003673, allocations: 4 kB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.00375, allocations: 15.98 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.714e-05/0.003787, allocations: 7.984 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.003802, allocations: 0.6562 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.048e-05/0.003853, allocations: 7.938 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.003871, allocations: 8.594 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.634e-05/0.003888, allocations: 7.875 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.003991, allocations: 28.98 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003994, allocations: 0 / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003995, allocations: 0.7188 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003998, allocations: 0 / 0.8137 GB, free: 15.69 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.0003659/0.004364, allocations: 359 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.004407, allocations: 8.031 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.356e-05/0.004501, allocations: 8.938 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.736e-05/0.004588, allocations: 116.6 kB / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.0046, allocations: 4.375 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-06/0.004606, allocations: 384 / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.004724, allocations: 52.3 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.004732, allocations: 192 / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-06/0.004738, allocations: 384 / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.004745, allocations: 384 / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.783e-05/0.004773, allocations: 13.47 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.005045, allocations: 228.4 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.081e-05/0.005116, allocations: 31.09 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.005133, allocations: 9.375 kB / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.005159, allocations: 8 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.005193, allocations: 33.39 kB / 0.8145 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 2.314e-06/0.005195, allocations: 7.922 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000161/0.005356, allocations: 42.5 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.005394, allocations: 55.39 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.629e-05/0.00549, allocations: 162.5 kB / 0.8148 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.005504, allocations: 26.3 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.005562, allocations: 130.9 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.005583, allocations: 4.484 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.005622, allocations: 24.58 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.005792, allocations: 496.1 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.005804, allocations: 0 / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/0.005817, allocations: 4.531 kB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.005858, allocations: 21 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.00586, allocations: 0 / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.457e-05/0.005945, allocations: 37.69 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.005962, allocations: 5.156 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005967, allocations: 0 / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.005986, allocations: 3.938 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.006066, allocations: 5.031 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.006069, allocations: 4 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.006097, allocations: 8.891 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.006102, allocations: 0 / 0.8155 GB, free: 13.63 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 9.031e-05/0.006192, allocations: 157.5 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.006217, allocations: 0 / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.006329, allocations: 49.78 kB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.006333, allocations: 3.938 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.006335, allocations: 0 / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.006341, allocations: 0.8438 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.006476, allocations: 97.22 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006477, allocations: 1.281 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.00652, allocations: 7.984 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.006524, allocations: 4 kB / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.006531, allocations: 4.844 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.006532, allocations: 0 / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006533, allocations: 0 / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.006671, allocations: 192.9 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.006679, allocations: 4 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.006691, allocations: 5.375 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.844e-05/0.006749, allocations: 4 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.006782, allocations: 3.984 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.006787, allocations: 3.938 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.804e-05/0.006835, allocations: 132.6 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.006835, allocations: 0 / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002445/0.00708, allocations: 4 kB / 0.8162 GB, free: 12.92 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.0001003/0.00718, allocations: 94.12 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.718e-05/0.007257, allocations: 19.67 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.007259, allocations: 0 / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.225e-05/0.007281, allocations: 11.62 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.007539, allocations: 4 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.008046, allocations: 123.3 kB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.199e-05/0.008088, allocations: 59.28 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.008111, allocations: 4 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.008167, allocations: 66.8 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.008168, allocations: 4.656 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.002987/0.01115, allocations: 0.4932 MB / 0.817 GB, free: 12 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.104957820381969]