Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.0009346/0.0009346, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001049/0.001049, allocations: 169 kB / 24.28 MB, free: 272 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.9339/0.9339, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.857/1.857, allocations: 377.8 MB / 0.6239 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 178] 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.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.632e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002007/0.002023, allocations: 1.711 MB / 0.8132 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.003598, allocations: 1.721 MB / 0.8149 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.003665, allocations: 0 / 0.8149 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.004076, allocations: 59.62 kB / 0.815 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.004265, allocations: 105 kB / 0.8151 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.004376, allocations: 71.61 kB / 0.8151 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.004557, allocations: 183.5 kB / 0.8153 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.004593, allocations: 8.984 kB / 0.8153 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.61e-05/0.004689, allocations: 91.73 kB / 0.8154 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.004789, allocations: 63.86 kB / 0.8155 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.004809, allocations: 12.53 kB / 0.8155 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.004946, allocations: 107.8 kB / 0.8156 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.005008, allocations: 57.36 kB / 0.8156 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.005056, allocations: 39.84 kB / 0.8157 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.005301, allocations: 223.3 kB / 0.8159 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005303, allocations: 0 / 0.8159 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.62e-07/0.005304, allocations: 2.531 kB / 0.8159 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.005307, allocations: 0 / 0.8159 GB, free: 13.63 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004741/0.005782, allocations: 0.5071 MB / 0.8164 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.005811, allocations: 12.03 kB / 0.8164 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.005872, allocations: 20.8 kB / 0.8164 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.006092, allocations: 201.1 kB / 0.8166 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.006108, allocations: 4.906 kB / 0.8166 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.006121, allocations: 5.094 kB / 0.8166 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.006293, allocations: 147.9 kB / 0.8168 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.0063, allocations: 4.469 kB / 0.8168 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.006312, allocations: 5.625 kB / 0.8168 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.006318, allocations: 0 / 0.8168 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.006466, allocations: 127.8 kB / 0.8169 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.006624, allocations: 180.5 kB / 0.8171 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.00691, allocations: 195.5 kB / 0.8172 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.006962, allocations: 36.36 kB / 0.8173 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.006975, allocations: 4 kB / 0.8173 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.007107, allocations: 101.7 kB / 0.8174 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 9.22e-07/0.007108, allocations: 0.9375 kB / 0.8174 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0002938/0.007402, allocations: 183.9 kB / 0.8176 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.007439, allocations: 82.48 kB / 0.8176 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.007603, allocations: 265.6 kB / 0.8179 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.00762, allocations: 33.7 kB / 0.8179 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.007677, allocations: 158.9 kB / 0.8181 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.007716, allocations: 45.39 kB / 0.8181 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.007758, allocations: 47.36 kB / 0.8182 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.007931, allocations: 0.5001 MB / 0.8186 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/0.007978, allocations: 27.98 kB / 0.8187 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.697e-05/0.008045, allocations: 80.69 kB / 0.8187 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.008149, allocations: 88.52 kB / 0.8188 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008151, allocations: 0 / 0.8188 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001816/0.008333, allocations: 166.3 kB / 0.819 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.008344, allocations: 10.16 kB / 0.819 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.008351, allocations: 7.938 kB / 0.819 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.008362, allocations: 4 kB / 0.819 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.008441, allocations: 23.98 kB / 0.819 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.008446, allocations: 0 / 0.819 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.675e-05/0.008483, allocations: 8 kB / 0.819 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.008492, allocations: 11.02 kB / 0.8191 GB, free: 10.14 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.435e-05/0.008566, allocations: 166.8 kB / 0.8192 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.008594, allocations: 27.86 kB / 0.8192 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.008858, allocations: 221 kB / 0.8195 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.008862, allocations: 7.938 kB / 0.8195 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.008865, allocations: 0 / 0.8195 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.00887, allocations: 0 / 0.8195 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.009, allocations: 193.8 kB / 0.8196 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.009001, allocations: 0 / 0.8196 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.009066, allocations: 39.92 kB / 0.8197 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.009068, allocations: 0.625 kB / 0.8197 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.009078, allocations: 4 kB / 0.8197 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.009079, allocations: 0.5625 kB / 0.8197 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.009082, allocations: 7.922 kB / 0.8197 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.009295, allocations: 229 kB / 0.8199 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.009319, allocations: 36.95 kB / 0.8199 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.009344, allocations: 8 kB / 0.82 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.083e-05/0.009375, allocations: 0 / 0.82 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.009414, allocations: 23.91 kB / 0.82 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.009427, allocations: 4.812 kB / 0.82 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.808e-05/0.009525, allocations: 196.3 kB / 0.8202 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009525, allocations: 0.9375 kB / 0.8202 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001907/0.009716, allocations: 59.81 kB / 0.8202 GB, free: 8.875 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009811/0.0107, allocations: 0.5055 MB / 0.8207 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.01086, allocations: 103.2 kB / 0.8208 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01087, allocations: 1.094 kB / 0.8208 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.01094, allocations: 71.53 kB / 0.8209 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.01113, allocations: 48.92 kB / 0.8209 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.01154, allocations: 310.8 kB / 0.8212 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.061e-05/0.01158, allocations: 80.47 kB / 0.8213 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.305e-05/0.01165, allocations: 45.44 kB / 0.8214 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.01171, allocations: 36.48 kB / 0.8214 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.01171, allocations: 0 / 0.8214 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of Templates: time 0.004861/0.01658, allocations: 3.58 MB / 0.8249 GB, free: 4.305 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.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.0077247738372535]