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.0009591/0.0009591, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001007/0.001007, allocations: 161.4 kB / 23.82 MB, free: 0.75 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 1.029/1.029, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.964/1.964, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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 3.476e-06/3.476e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.534e-05, allocations: 2.969 kB / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002244/0.00228, allocations: 0.6824 MB / 0.8123 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.003514, allocations: 0.8681 MB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.003553, allocations: 0 / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.003587, allocations: 0 / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.918e-05/0.003666, allocations: 4 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.003898, allocations: 19.91 kB / 0.8131 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.62e-05/0.003974, allocations: 20.73 kB / 0.8132 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.004086, allocations: 8 kB / 0.8132 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.83e-05/0.004174, allocations: 16.61 kB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.004213, allocations: 7.984 kB / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.004228, allocations: 1.344 kB / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.106e-05/0.004279, allocations: 11.94 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.004295, allocations: 4 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.004317, allocations: 9.328 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.004436, allocations: 23.92 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.00444, allocations: 0 / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.233e-06/0.004441, allocations: 0 / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.004446, allocations: 0.6875 kB / 0.8132 GB, free: 8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004638/0.00491, allocations: 365.5 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.004959, allocations: 8.031 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.005109, allocations: 4.938 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.005214, allocations: 113.2 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.005228, allocations: 384 / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.005243, allocations: 5.031 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.005398, allocations: 56.19 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.005409, allocations: 192 / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.005419, allocations: 384 / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.005428, allocations: 384 / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.005466, allocations: 10.09 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.005827, allocations: 247.8 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.164e-05/0.005899, allocations: 35.03 kB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.005926, allocations: 11.75 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.00595, allocations: 0.8125 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.005977, allocations: 37.39 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 2.745e-06/0.00598, allocations: 1.031 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001963/0.006176, allocations: 45.59 kB / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.006212, allocations: 60.02 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.699e-05/0.006309, allocations: 157.9 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.006324, allocations: 27.08 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.006378, allocations: 126.9 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.006399, allocations: 7.953 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.006443, allocations: 23.36 kB / 0.8145 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.006624, allocations: 497.4 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.006644, allocations: 3.938 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.006657, allocations: 0 / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.006698, allocations: 20.34 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.0067, allocations: 0.7188 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.591e-05/0.006786, allocations: 43.12 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.006803, allocations: 4 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.006811, allocations: 3.938 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.006828, allocations: 0 / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.006928, allocations: 5.531 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.006937, allocations: 4 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.006964, allocations: 7.922 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.006969, allocations: 0 / 0.8151 GB, free: 13.92 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 8.749e-05/0.007057, allocations: 162.4 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.007082, allocations: 0 / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.007198, allocations: 48.94 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.007201, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.007205, allocations: 1.094 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007208, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.007349, allocations: 116.6 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.007351, allocations: 1.5 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.611e-05/0.007397, allocations: 11.94 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.0074, allocations: 0 / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.007408, allocations: 0 / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.007413, allocations: 8.469 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007414, allocations: 0.5938 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.007555, allocations: 188.5 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-06/0.007562, allocations: 0.7812 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.007575, allocations: 0 / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.007641, allocations: 8.844 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.007687, allocations: 7.984 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.007691, allocations: 0 / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.007746, allocations: 123.7 kB / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007746, allocations: 0.9062 kB / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002613/0.008008, allocations: 4 kB / 0.8157 GB, free: 13.19 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.0001356/0.008143, allocations: 104 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.008248, allocations: 17.03 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.008251, allocations: 3.938 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/0.008274, allocations: 11.69 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.008579, allocations: 5.188 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.009158, allocations: 128.2 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.312e-05/0.009202, allocations: 59.3 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.009223, allocations: 0.875 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.009256, allocations: 12.5 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.009257, allocations: 0 / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.002831/0.01209, allocations: 476.4 kB / 0.8165 GB, free: 12.35 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.415198189206421]