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.00102/0.00102, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001167/0.001167, allocations: 160.7 kB / 24.86 MB, free: 9.289 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.9772/0.9772, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.95/1.95, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.855e-06/2.855e-06, allocations: 0 / 0.8128 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.321e-05, allocations: 8.984 kB / 0.8129 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001691/0.001724, allocations: 0.6705 MB / 0.8135 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009071/0.002632, allocations: 0.863 MB / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.002671, allocations: 0.6875 kB / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.002702, allocations: 3.938 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.002781, allocations: 4.906 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.002972, allocations: 19.91 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.155e-05/0.003044, allocations: 24.58 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.00314, allocations: 8.875 kB / 0.8144 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.003219, allocations: 15.92 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.552e-05/0.003255, allocations: 3.984 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.003269, allocations: 5.125 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.753e-05/0.003316, allocations: 7.938 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.003332, allocations: 4 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.003348, allocations: 13.52 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.196e-05/0.00344, allocations: 19.91 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003442, allocations: 0 / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003443, allocations: 0 / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.003451, allocations: 5.531 kB / 0.8145 GB, free: 15.71 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.0003362/0.003787, allocations: 356.6 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.003822, allocations: 12.03 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.003911, allocations: 4.938 kB / 0.8148 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.803e-05/0.003999, allocations: 109.9 kB / 0.8149 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.004008, allocations: 384 / 0.8149 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-06/0.004015, allocations: 4.375 kB / 0.8149 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.004129, allocations: 55.38 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.004137, allocations: 5.406 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.004144, allocations: 384 / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.004151, allocations: 384 / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.004174, allocations: 11.94 kB / 0.815 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.004436, allocations: 225 kB / 0.8152 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.515e-05/0.004491, allocations: 35.75 kB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.004509, allocations: 13.22 kB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.004524, allocations: 0 / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.004548, allocations: 33.39 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.004549, allocations: 0 / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001348/0.004683, allocations: 46.22 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.004716, allocations: 56.41 kB / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.004792, allocations: 161.9 kB / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.004802, allocations: 30.39 kB / 0.8156 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.004852, allocations: 126.9 kB / 0.8157 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.004873, allocations: 12.55 kB / 0.8157 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.0049, allocations: 19.36 kB / 0.8157 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.005035, allocations: 0.4896 MB / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.00505, allocations: 0 / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.896e-06/0.005059, allocations: 0 / 0.8162 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.005085, allocations: 17.47 kB / 0.8162 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005086, allocations: 0 / 0.8162 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.64e-05/0.005143, allocations: 37.69 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.005156, allocations: 8 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.00516, allocations: 2.312 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.00517, allocations: 3.938 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.315e-05/0.005233, allocations: 7.938 kB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.005236, allocations: 0 / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.005256, allocations: 8.125 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.00526, allocations: 3.984 kB / 0.8163 GB, free: 13.66 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.264e-05/0.005323, allocations: 156 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.005341, allocations: 7.984 kB / 0.8165 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.005415, allocations: 41 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.00542, allocations: 7.938 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.005422, allocations: 0 / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.005424, allocations: 0 / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.248e-05/0.005517, allocations: 97.22 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.005518, allocations: 0 / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.005546, allocations: 12.83 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.005547, allocations: 0 / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-06/0.005552, allocations: 0.5 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.005553, allocations: 0.5625 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005554, allocations: 3.938 kB / 0.8166 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.498e-05/0.005649, allocations: 192.5 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.005655, allocations: 1.25 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-06/0.005662, allocations: 0 / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.165e-05/0.005694, allocations: 4 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.005722, allocations: 4.688 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.00573, allocations: 15.92 kB / 0.8168 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.371e-05/0.005763, allocations: 123.7 kB / 0.8169 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005763, allocations: 2.031 kB / 0.8169 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001437/0.005907, allocations: 4 kB / 0.817 GB, free: 12.95 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.0001006/0.006008, allocations: 95.25 kB / 0.817 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.503e-05/0.006073, allocations: 20.42 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006074, allocations: 0 / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.61e-05/0.00609, allocations: 12.62 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.006279, allocations: 7.938 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.006655, allocations: 116.8 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.643e-05/0.006692, allocations: 63.28 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.88e-05/0.00671, allocations: 1.188 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.006761, allocations: 70.2 kB / 0.8173 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.006762, allocations: 0 / 0.8173 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.002054/0.008815, allocations: 0.5196 MB / 0.8178 GB, free: 12.01 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.278585880994797]