Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.001048/0.001048, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001168/0.001168, allocations: 172.3 kB / 24.87 MB, free: 8.879 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.066/1.066, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.922/1.922, allocations: 377.9 MB / 0.6247 GB, free: 8.43 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.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.954e-05, allocations: 3.219 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002585/0.002614, allocations: 0.8142 MB / 0.8136 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001625/0.002777, allocations: 40.41 kB / 0.8136 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.002851, allocations: 4 kB / 0.8136 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.828e-05/0.002899, allocations: 13.27 kB / 0.8136 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.003001, allocations: 7.875 kB / 0.8137 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.447e-05/0.003056, allocations: 19.98 kB / 0.8137 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.003183, allocations: 59.83 kB / 0.8137 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.003324, allocations: 40.81 kB / 0.8138 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.003455, allocations: 43.84 kB / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.715e-05/0.003502, allocations: 16.59 kB / 0.8138 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.003521, allocations: 4.906 kB / 0.8138 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-06/0.003531, allocations: 4 kB / 0.8138 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.003554, allocations: 15.94 kB / 0.8138 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.003584, allocations: 24.56 kB / 0.8139 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.003693, allocations: 31.84 kB / 0.8139 GB, free: 320 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.003697, allocations: 0.875 kB / 0.8139 GB, free: 320 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003698, allocations: 4 kB / 0.8139 GB, free: 316 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.003703, allocations: 1.25 kB / 0.8139 GB, free: 316 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004589/0.004162, allocations: 412.1 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.004204, allocations: 12.03 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.004246, allocations: 18.64 kB / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.00442, allocations: 132.5 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.004434, allocations: 4.375 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.004449, allocations: 12.36 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.004585, allocations: 93.47 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.004594, allocations: 192 / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.004605, allocations: 4.375 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.004613, allocations: 4.375 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.589e-05/0.004659, allocations: 21.45 kB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.005249, allocations: 0.7184 MB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.005361, allocations: 269.5 kB / 0.8155 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.005405, allocations: 135.8 kB / 0.8157 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.005442, allocations: 119.2 kB / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.92e-05/0.005501, allocations: 157.4 kB / 0.8159 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.005503, allocations: 3.938 kB / 0.8159 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.418e-05/0.005577, allocations: 42.27 kB / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.005648, allocations: 170.6 kB / 0.8161 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.005801, allocations: 199.7 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.005814, allocations: 29.7 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.005908, allocations: 178.4 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.005911, allocations: 0 / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.005952, allocations: 27.38 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.006108, allocations: 0.489 MB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.006123, allocations: 4 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.053e-05/0.006183, allocations: 78.19 kB / 0.8171 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.57e-05/0.006279, allocations: 88.31 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006281, allocations: 0 / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001565/0.006438, allocations: 83.98 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.006456, allocations: 4 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.006464, allocations: 5.812 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.006476, allocations: 0 / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.006543, allocations: 19.98 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.006552, allocations: 7.938 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.006592, allocations: 11.89 kB / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.006598, allocations: 4.938 kB / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 0.0001218/0.00672, allocations: 279.7 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.006793, allocations: 150.2 kB / 0.8177 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.259e-05/0.006856, allocations: 160.6 kB / 0.8179 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.079e-05/0.006936, allocations: 272.1 kB / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.453e-05/0.007011, allocations: 268 kB / 0.8184 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.151e-05/0.007092, allocations: 272.9 kB / 0.8187 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.007358, allocations: 496.5 kB / 0.8191 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.771e-05/0.007405, allocations: 154.9 kB / 0.8193 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.007456, allocations: 148.9 kB / 0.8194 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.091e-05/0.007536, allocations: 272 kB / 0.8197 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-05/0.007615, allocations: 264.1 kB / 0.82 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.797e-05/0.007693, allocations: 264.1 kB / 0.8202 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.13e-05/0.007774, allocations: 276 kB / 0.8205 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.007957, allocations: 452.5 kB / 0.8209 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.008026, allocations: 156.3 kB / 0.821 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.008143, allocations: 276 kB / 0.8213 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.008227, allocations: 148.8 kB / 0.8215 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.008304, allocations: 264.4 kB / 0.8217 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.008351, allocations: 152.8 kB / 0.8218 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.804e-05/0.008429, allocations: 149.4 kB / 0.822 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.008429, allocations: 0 / 0.822 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002721/0.008702, allocations: 7.953 kB / 0.822 GB, free: 7.566 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 (0): * Single equations (assignments): 0 * 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.0002154/0.008917, allocations: 214.9 kB / 0.8222 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.009023, allocations: 37.55 kB / 0.8222 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.009026, allocations: 0 / 0.8222 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.009027, allocations: 0 / 0.8222 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.00951, allocations: 0.7145 MB / 0.8229 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.009883, allocations: 270.5 kB / 0.8232 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.591e-05/0.009928, allocations: 59.34 kB / 0.8233 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.529e-05/0.009974, allocations: 7.016 kB / 0.8233 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.01002, allocations: 77.83 kB / 0.8233 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of SimCode: time 1.964e-06/0.01002, allocations: 0 / 0.8233 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of Templates: time 0.002573/0.0126, allocations: 337.2 kB / 0.8237 GB, free: 5.816 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.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.242642905097455]