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.001355/0.001355, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.001519/0.001519, allocations: 211.4 kB / 22.99 MB, free: 4.984 MB / 14.72 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.365/3.365, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.",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.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 68.06 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4297, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003639/0.4333, allocations: 1.662 MB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0027/0.436, allocations: 1.676 MB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.4361, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.4366, allocations: 55.7 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.4369, allocations: 95.59 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.4371, allocations: 79.66 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.4374, allocations: 183.6 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.4374, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.4375, allocations: 67.77 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.4377, allocations: 76.8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.4377, allocations: 16 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.4379, allocations: 111.9 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.404e-05/0.438, allocations: 51.83 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.4381, allocations: 55.66 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.4385, allocations: 247.1 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4385, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4385, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.4385, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 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.0007173/0.4392, allocations: 420.9 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4392, allocations: 12.03 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.4393, allocations: 20.84 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.4397, allocations: 199.1 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.4397, allocations: 4.375 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.4398, allocations: 8.125 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.4401, allocations: 153 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4401, allocations: 3.938 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.4401, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4401, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.4405, allocations: 191.7 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.4407, allocations: 177.2 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.4413, allocations: 198.5 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.4414, allocations: 56.83 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.4414, allocations: 4 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.4417, allocations: 133 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.4417, allocations: 4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005941/0.4423, allocations: 253.5 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.4423, allocations: 81.05 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.4426, allocations: 247 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.4426, allocations: 37.69 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.4427, allocations: 112.1 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.4428, allocations: 47.62 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.4429, allocations: 33.7 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.443, allocations: 326.8 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.4431, allocations: 67.89 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.4433, allocations: 104.2 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.4436, allocations: 156.5 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4436, allocations: 0 / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004051/0.444, allocations: 225.3 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.444, allocations: 4 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.444, allocations: 7.969 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.444, allocations: 0 / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.4441, allocations: 27.98 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4442, allocations: 0 / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.4442, allocations: 11.95 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.4442, allocations: 7.938 kB / 1.335 GB, free: 9.086 MB / 1.029 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 0.0001482/0.4444, allocations: 134.3 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.4444, allocations: 27.86 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000585/0.445, allocations: 280.1 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.445, allocations: 7.984 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.445, allocations: 0 / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.445, allocations: 3.938 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.4453, allocations: 189.1 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4453, allocations: 4 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.4454, allocations: 35.98 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4454, allocations: 3.938 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.4454, allocations: 7.984 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4454, allocations: 4 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4454, allocations: 0 / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.4459, allocations: 282.7 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.4459, allocations: 19.86 kB / 1.335 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.446, allocations: 11.94 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.4461, allocations: 7.984 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.4461, allocations: 15.92 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.4461, allocations: 11.98 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002042/0.4463, allocations: 188.4 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4463, allocations: 0 / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003051/0.4466, allocations: 63.86 kB / 1.336 GB, free: 7.742 MB / 1.029 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.002004/0.4486, allocations: 0.5378 MB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003602/0.449, allocations: 151.8 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.449, allocations: 0 / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.4492, allocations: 87.89 kB / 1.337 GB, free: 7.188 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.4495, allocations: 50.12 kB / 1.337 GB, free: 7.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.4502, allocations: 350.8 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.4503, allocations: 120 kB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.4504, allocations: 49.44 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.4505, allocations: 35.42 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4505, allocations: 0 / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of Templates: time 0.008281/0.4588, allocations: 3.705 MB / 1.341 GB, free: 2.91 MB / 1.029 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.817688586990698]