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.001435/0.001434, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.623/2.623, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.7293, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003361/0.7327, allocations: 1.649 MB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.7351, allocations: 1.485 MB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-05/0.7352, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004686/0.7357, allocations: 55.69 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.7359, allocations: 47.77 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.7363, allocations: 111.6 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.7365, allocations: 159.6 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.7366, allocations: 4.234 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.7367, allocations: 63.78 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.7369, allocations: 63.8 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.7369, allocations: 12 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.7371, allocations: 71.91 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.7372, allocations: 55.77 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.081e-05/0.7373, allocations: 55.67 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.7376, allocations: 193.4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7376, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7376, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7376, allocations: 0 / 1.021 GB, free: 14.48 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.000646/0.7383, allocations: 466.6 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.7383, allocations: 19.97 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.471e-05/0.7384, allocations: 16.75 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.7388, allocations: 259.8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.7388, allocations: 4.375 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.7388, allocations: 12.12 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.7391, allocations: 111.3 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.7391, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.7391, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.7391, allocations: 4 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.7394, allocations: 147.8 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.7396, allocations: 237.4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.74, allocations: 166.6 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.7401, allocations: 52.78 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.7402, allocations: 15.97 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.7405, allocations: 118 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.7405, allocations: 0 / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004761/0.741, allocations: 217.4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.741, allocations: 85.11 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.7412, allocations: 198.6 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.7413, allocations: 29.7 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.7414, allocations: 112.1 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.7414, allocations: 47.44 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.7415, allocations: 37.7 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7416, allocations: 326.8 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.7417, allocations: 47.97 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.7418, allocations: 74.48 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.7421, allocations: 122.8 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7421, allocations: 8 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003347/0.7424, allocations: 197.3 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.7424, allocations: 4.109 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7424, allocations: 3.938 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.7425, allocations: 7.938 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.7426, allocations: 23.98 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7426, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.908e-05/0.7427, allocations: 15.84 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.7427, allocations: 8.031 kB / 1.024 GB, free: 11.1 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.0001213/0.7428, allocations: 142.4 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.7429, allocations: 15.81 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.393e-05/0.7429, allocations: 25.52 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.7429, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.7429, allocations: 4 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.743, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.7431, allocations: 237.5 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7432, allocations: 0 / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.7432, allocations: 20 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7432, allocations: 0 / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.7433, allocations: 7.984 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7433, allocations: 0 / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7433, allocations: 0 / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.7436, allocations: 218.1 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.7437, allocations: 92.86 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.7437, allocations: 8 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.565e-05/0.7438, allocations: 8 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.7438, allocations: 7.984 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.7438, allocations: 8 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001338/0.744, allocations: 156.2 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.744, allocations: 0 / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002589/0.7442, allocations: 35.98 kB / 1.025 GB, free: 10.04 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.00108/0.7453, allocations: 461.6 kB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003043/0.7456, allocations: 139.8 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7457, allocations: 0 / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.7458, allocations: 59.91 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.7461, allocations: 40.34 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.7467, allocations: 294.7 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.747, allocations: 0.7241 MB / 1.027 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.7471, allocations: 53.44 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.7471, allocations: 31.42 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.7472, allocations: 0 / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of Templates: time 0.005697/0.7529, allocations: 2.498 MB / 1.029 GB, free: 5.93 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=480 -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