Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.002037/0.002037, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002509/0.002509, allocations: 192.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.935/2.935, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.91 kB / 0.8688 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7182/0.7204, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.004292/0.7247, allocations: 1.702 MB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002748/0.7275, allocations: 1.452 MB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.7277, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005706/0.7283, allocations: 47.81 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.7286, allocations: 55.77 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.729, allocations: 95.45 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000298/0.7294, allocations: 163.6 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.193e-05/0.7294, allocations: 12.22 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.7296, allocations: 63.7 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.7298, allocations: 79.73 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.7299, allocations: 8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.7301, allocations: 67.97 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.852e-05/0.7302, allocations: 47.78 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.7303, allocations: 55.66 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.7307, allocations: 193.4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7308, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.036e-06/0.7308, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.7308, allocations: 0 / 1.021 GB, free: 14.67 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.0008404/0.7316, allocations: 466.6 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.7317, allocations: 12.03 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.332e-05/0.7318, allocations: 16.75 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.7322, allocations: 255.9 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.7322, allocations: 8.375 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.7323, allocations: 8.125 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.7326, allocations: 119.3 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.7326, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.7326, allocations: 4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-06/0.7327, allocations: 4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.7329, allocations: 147.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.7333, allocations: 229.4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.7337, allocations: 174.6 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.7338, allocations: 56.77 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.7339, allocations: 8 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/0.7342, allocations: 111.3 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 4.849e-06/0.7342, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005706/0.7348, allocations: 225.4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.7349, allocations: 81.11 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.7351, allocations: 198.6 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.7352, allocations: 33.7 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.7353, allocations: 108.1 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.7353, allocations: 43.45 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.7354, allocations: 33.7 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.7356, allocations: 330.8 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.7357, allocations: 51.98 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.7358, allocations: 68.8 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.7361, allocations: 133.6 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7361, allocations: 112 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003602/0.7365, allocations: 201.1 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.7365, allocations: 4 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.7365, allocations: 4.062 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7365, allocations: 4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.7367, allocations: 27.98 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.7367, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.7368, allocations: 11.84 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.7368, allocations: 4 kB / 1.024 GB, free: 11.3 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 ($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.000152/0.7369, allocations: 151.4 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.737, allocations: 15.81 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.7371, allocations: 29.52 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7371, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7371, allocations: 4 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.7371, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.7374, allocations: 237.5 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7374, allocations: 0 / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.846e-05/0.7375, allocations: 19.98 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7375, allocations: 0 / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.7375, allocations: 8 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.7375, allocations: 3.984 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.7375, allocations: 3.984 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.7379, allocations: 216.8 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.738, allocations: 96.86 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.738, allocations: 4 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/0.7381, allocations: 7.984 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.7381, allocations: 8 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.7382, allocations: 7.984 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000159/0.7383, allocations: 152.2 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7383, allocations: 4 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002791/0.7386, allocations: 39.98 kB / 1.025 GB, free: 10.22 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 (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.001756/0.7404, allocations: 449.7 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003527/0.7407, allocations: 143.9 kB / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7408, allocations: 0 / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.7409, allocations: 59.92 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.7412, allocations: 48.86 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006685/0.7419, allocations: 331.1 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.7423, allocations: 0.7163 MB / 1.026 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.7425, allocations: 53.48 kB / 1.027 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.027e-05/0.7426, allocations: 35.36 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7426, allocations: 0 / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.007107/0.7497, allocations: 2.478 MB / 1.029 GB, free: 6.082 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches