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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.699/2.699, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003936, allocations: 16 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7499/0.7503, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002063/0.7524, allocations: 1.329 MB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.7545, allocations: 1.378 MB / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.7546, allocations: 0 / 1.023 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004017/0.755, allocations: 39.78 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.7552, allocations: 43.88 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.7555, allocations: 95.69 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.7557, allocations: 99.81 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.7558, allocations: 4.234 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.7559, allocations: 59.77 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.7561, allocations: 52.45 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.7561, allocations: 4 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.7562, allocations: 47.84 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.7563, allocations: 39.89 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.653e-05/0.7564, allocations: 45.64 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.7566, allocations: 145.6 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.7566, allocations: 0 / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7566, allocations: 0 / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.7566, allocations: 0 / 1.024 GB, free: 13.7 MB / 0.7794 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.0006599/0.7573, allocations: 440.7 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.7573, allocations: 11.98 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.7574, allocations: 23.8 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.7578, allocations: 254.6 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.7578, allocations: 4 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.7578, allocations: 4 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.7581, allocations: 119.2 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.7581, allocations: 4 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.7581, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.7581, allocations: 4 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.7584, allocations: 147.8 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.7586, allocations: 233.4 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.759, allocations: 166.6 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.759, allocations: 4 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.7593, allocations: 122 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.7593, allocations: 4 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004773/0.7598, allocations: 217.5 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.7599, allocations: 81.09 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.7601, allocations: 199.2 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.7601, allocations: 33.7 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.7602, allocations: 112.1 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.7603, allocations: 47.77 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.7603, allocations: 4 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7604, allocations: 326.8 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/0.7605, allocations: 51.91 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.7606, allocations: 74.48 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.7607, allocations: 55.98 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7607, allocations: 4.031 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002989/0.761, allocations: 187.6 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.7611, allocations: 11.95 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7611, allocations: 3.938 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7611, allocations: 0 / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.7612, allocations: 27.98 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.7613, allocations: 7.984 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.7613, allocations: 15.78 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.7614, allocations: 4 kB / 1.027 GB, free: 10.52 MB / 0.7794 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.7615, allocations: 141.8 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.7615, allocations: 15.81 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.7616, allocations: 29.47 kB / 1.027 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.7616, allocations: 8 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7616, allocations: 0 / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.7616, allocations: 3.984 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.7618, allocations: 225.6 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7619, allocations: 0 / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.326e-05/0.7619, allocations: 16 kB / 1.027 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.7619, allocations: 4 kB / 1.027 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.762, allocations: 11.98 kB / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.762, allocations: 3.953 kB / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.762, allocations: 0 / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.7623, allocations: 212.8 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.7624, allocations: 96.86 kB / 1.028 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.7624, allocations: 4 kB / 1.028 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/0.7625, allocations: 11.98 kB / 1.028 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.7625, allocations: 15.94 kB / 1.028 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.7626, allocations: 4 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001342/0.7627, allocations: 151 kB / 1.028 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7627, allocations: 0 / 1.028 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002734/0.763, allocations: 36 kB / 1.028 GB, free: 9.457 MB / 0.7794 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001136/0.7641, allocations: 463.5 kB / 1.028 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.7644, allocations: 119.9 kB / 1.028 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7644, allocations: 0 / 1.028 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.7645, allocations: 63.92 kB / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.7648, allocations: 36.33 kB / 1.029 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.7654, allocations: 321.1 kB / 1.029 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.7656, allocations: 0.7283 MB / 1.03 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.7658, allocations: 53.48 kB / 1.03 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.7659, allocations: 31.42 kB / 1.03 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7659, allocations: 4 kB / 1.03 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of Templates: time 0.005821/0.7717, allocations: 2.324 MB / 1.032 GB, free: 5.496 MB / 0.7794 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