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.559/2.559, allocations: 390.5 MB / 398 MB, free: 10.98 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.001427/0.001427, allocations: 169 kB / 491.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.805/1.805, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.001249/0.001249, allocations: 87.91 kB / 0.9269 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.79e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3211, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.051/1.372, allocations: 153.1 MB / 1.362 GB, free: 17.64 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/1.372, allocations: 99 kB / 1.362 GB, free: 17.64 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01282/1.385, allocations: 5.238 MB / 1.367 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.783e-06/1.385, allocations: 0 / 1.367 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.553e-05/1.385, allocations: 3.844 kB / 1.367 GB, free: 33.05 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.0004821/1.386, allocations: 426.7 kB / 1.367 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1.386, allocations: 11.56 kB / 1.367 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/1.386, allocations: 23.42 kB / 1.367 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/1.386, allocations: 252.5 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/1.386, allocations: 3.594 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/1.386, allocations: 11.7 kB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002726/1.387, allocations: 189.8 kB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/1.387, allocations: 125.6 kB / 1.368 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.387, allocations: 0 / 1.368 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/1.387, allocations: 0 / 1.368 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.387, allocations: 0 / 1.368 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/1.387, allocations: 232.8 kB / 1.368 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/1.387, allocations: 198 kB / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/1.388, allocations: 61.05 kB / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/1.388, allocations: 3.75 kB / 1.368 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/1.388, allocations: 109.6 kB / 1.369 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/1.388, allocations: 3.906 kB / 1.369 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003313/1.388, allocations: 190.5 kB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/1.388, allocations: 84.95 kB / 1.369 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/1.388, allocations: 224.9 kB / 1.369 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/1.388, allocations: 25.7 kB / 1.369 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/1.388, allocations: 113.7 kB / 1.369 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/1.388, allocations: 38.14 kB / 1.369 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/1.388, allocations: 0 / 1.369 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.389, allocations: 338.5 kB / 1.37 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/1.389, allocations: 56.22 kB / 1.37 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/1.389, allocations: 79.91 kB / 1.37 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.606e-05/1.389, allocations: 61.28 kB / 1.37 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.389, allocations: 3.938 kB / 1.37 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002316/1.389, allocations: 189 kB / 1.37 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.389, allocations: 10.73 kB / 1.37 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.389, allocations: 3.938 kB / 1.37 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/1.389, allocations: 0 / 1.37 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/1.389, allocations: 26.11 kB / 1.37 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/1.389, allocations: 4.062 kB / 1.37 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/1.389, allocations: 10.47 kB / 1.37 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/1.389, allocations: 7.344 kB / 1.37 GB, free: 31.32 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.568e-05/1.389, allocations: 113.9 kB / 1.37 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/1.389, allocations: 15.53 kB / 1.37 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003575/1.39, allocations: 259.3 kB / 1.37 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.39, allocations: 7.844 kB / 1.37 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.39, allocations: 0 / 1.37 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.39, allocations: 0 / 1.37 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/1.39, allocations: 246.7 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.39, allocations: 0 / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/1.39, allocations: 34.02 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.39, allocations: 0 / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/1.39, allocations: 6.922 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.39, allocations: 0 / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.39, allocations: 0 / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/1.391, allocations: 261.2 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/1.391, allocations: 113.9 kB / 1.371 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/1.391, allocations: 0 / 1.371 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.373e-05/1.391, allocations: 7.375 kB / 1.371 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/1.391, allocations: 13.55 kB / 1.371 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/1.391, allocations: 7.75 kB / 1.371 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001335/1.391, allocations: 171.8 kB / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.391, allocations: 0 / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002584/1.391, allocations: 60.72 kB / 1.371 GB, free: 30.69 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.0009295/1.392, allocations: 403.8 kB / 1.372 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002233/1.392, allocations: 146.6 kB / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.392, allocations: 0 / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/1.392, allocations: 86.92 kB / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/1.393, allocations: 30.5 kB / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/1.393, allocations: 247.9 kB / 1.372 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/1.393, allocations: 0.736 MB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001091/1.394, allocations: 51.81 kB / 1.373 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/1.394, allocations: 36.67 kB / 1.373 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.394, allocations: 0 / 1.373 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of Templates: time 0.005422/1.399, allocations: 2.825 MB / 1.376 GB, free: 29.34 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