Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.273/2.273, allocations: 390.3 MB / 402.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.3 MB / 0.7915 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009777/0.0009777, allocations: 99.73 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.244e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2823, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9177/1.2, allocations: 153.8 MB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/1.2, allocations: 90.12 kB / 1.369 GB, free: 248 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01356/1.214, allocations: 5.37 MB / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.214, allocations: 0 / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.539e-05/1.214, allocations: 4 kB / 1.374 GB, free: 11.92 MB / 0.8386 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.0005066/1.214, allocations: 421.8 kB / 1.375 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.214, allocations: 12.03 kB / 1.375 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/1.215, allocations: 31.02 kB / 1.375 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/1.215, allocations: 247.6 kB / 1.375 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/1.215, allocations: 0 / 1.375 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/1.215, allocations: 7.188 kB / 1.375 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/1.215, allocations: 129.6 kB / 1.375 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.215, allocations: 0 / 1.375 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/1.215, allocations: 7.188 kB / 1.375 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.215, allocations: 3.938 kB / 1.375 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/1.216, allocations: 187.4 kB / 1.375 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/1.216, allocations: 252.9 kB / 1.376 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/1.216, allocations: 210 kB / 1.376 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/1.216, allocations: 59.16 kB / 1.376 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/1.216, allocations: 7.984 kB / 1.376 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/1.217, allocations: 122.8 kB / 1.376 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/1.217, allocations: 0 / 1.376 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0004388/1.217, allocations: 200.6 kB / 1.376 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/1.217, allocations: 77.44 kB / 1.376 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/1.217, allocations: 229 kB / 1.376 GB, free: 9.836 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/1.217, allocations: 29.2 kB / 1.376 GB, free: 9.805 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/1.218, allocations: 120.4 kB / 1.377 GB, free: 9.703 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/1.218, allocations: 42.45 kB / 1.377 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/1.218, allocations: 3.562 kB / 1.377 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.218, allocations: 329.7 kB / 1.377 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.733e-05/1.218, allocations: 60.47 kB / 1.377 GB, free: 9.301 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/1.218, allocations: 82.53 kB / 1.377 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.952e-05/1.218, allocations: 65.39 kB / 1.377 GB, free: 9.191 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.218, allocations: 4.031 kB / 1.377 GB, free: 9.188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002854/1.218, allocations: 202.1 kB / 1.377 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.218, allocations: 5.25 kB / 1.377 GB, free: 9.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.218, allocations: 0 / 1.377 GB, free: 9.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.218, allocations: 4 kB / 1.377 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/1.219, allocations: 23.98 kB / 1.377 GB, free: 8.992 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/1.219, allocations: 0 / 1.377 GB, free: 8.992 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/1.219, allocations: 15.83 kB / 1.377 GB, free: 8.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/1.219, allocations: 8 kB / 1.377 GB, free: 8.973 MB / 0.8386 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.06e-05/1.219, allocations: 118 kB / 1.377 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/1.219, allocations: 15.81 kB / 1.377 GB, free: 8.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/1.219, allocations: 279 kB / 1.378 GB, free: 8.617 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.219, allocations: 0 / 1.378 GB, free: 8.617 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.219, allocations: 4 kB / 1.378 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.219, allocations: 0 / 1.378 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/1.22, allocations: 277.3 kB / 1.378 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.22, allocations: 0 / 1.378 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/1.22, allocations: 39.92 kB / 1.378 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/1.22, allocations: 0 / 1.378 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/1.22, allocations: 7.625 kB / 1.378 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.22, allocations: 0 / 1.378 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.22, allocations: 0 / 1.378 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/1.22, allocations: 269.5 kB / 1.378 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.47e-05/1.22, allocations: 104.3 kB / 1.378 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/1.22, allocations: 14.62 kB / 1.378 GB, free: 7.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/1.22, allocations: 13.94 kB / 1.378 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/1.22, allocations: 15.97 kB / 1.378 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/1.22, allocations: 8 kB / 1.378 GB, free: 7.891 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001753/1.221, allocations: 183.9 kB / 1.379 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.221, allocations: 7.875 kB / 1.379 GB, free: 7.738 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000263/1.221, allocations: 54.88 kB / 1.379 GB, free: 7.691 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/1.222, allocations: 419.4 kB / 1.379 GB, free: 7.418 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002714/1.222, allocations: 156.8 kB / 1.379 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.222, allocations: 0 / 1.379 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/1.222, allocations: 95.53 kB / 1.379 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/1.223, allocations: 40.38 kB / 1.379 GB, free: 7.211 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/1.223, allocations: 259.3 kB / 1.38 GB, free: 6.973 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/1.223, allocations: 0.7363 MB / 1.38 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001862/1.224, allocations: 49.5 kB / 1.38 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/1.224, allocations: 31.42 kB / 1.38 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of SimCode: time 6.72e-07/1.224, allocations: 4 kB / 1.38 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of Templates: time 0.009299/1.233, allocations: 3.029 MB / 1.383 GB, free: 3.133 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches