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.001748/0.001748, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001399/0.001399, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.539/2.539, allocations: 437.1 MB / 0.711 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 68.39 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3095, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003408/0.3129, allocations: 1.628 MB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.3151, allocations: 1.497 MB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.602e-05/0.3152, allocations: 0 / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.3157, allocations: 55.69 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.3159, allocations: 51.75 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3163, allocations: 109.6 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.3165, allocations: 175.6 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.3166, allocations: 8.219 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.3167, allocations: 59.77 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.3169, allocations: 65.31 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.3169, allocations: 12 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.3171, allocations: 63.97 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.624e-05/0.3172, allocations: 51.77 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.728e-05/0.3173, allocations: 55.66 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.3176, allocations: 191.7 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3176, allocations: 4 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3176, allocations: 4 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3176, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 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.000643/0.3183, allocations: 466.6 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3183, allocations: 8.031 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.3184, allocations: 16.75 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.3187, allocations: 261.4 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3187, allocations: 4.375 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3188, allocations: 8.125 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.319, allocations: 119.3 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.319, allocations: 0 / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3191, allocations: 0 / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3191, allocations: 4 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.3193, allocations: 143.8 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.3196, allocations: 233.4 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.32, allocations: 178.5 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3201, allocations: 60.78 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.3201, allocations: 4 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.3204, allocations: 111.3 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.3204, allocations: 0 / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0005143/0.321, allocations: 228.2 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.321, allocations: 81.11 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.3212, allocations: 202.6 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3213, allocations: 25.7 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.3213, allocations: 116.1 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.3214, allocations: 47.38 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.3215, allocations: 33.7 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3216, allocations: 326.8 kB / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3217, allocations: 47.98 kB / 1.024 GB, free: 3.66 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.3218, allocations: 76.52 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.3221, allocations: 129.7 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3221, allocations: 0 / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003308/0.3224, allocations: 197.3 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3224, allocations: 8 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3224, allocations: 4.062 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3225, allocations: 0 / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3226, allocations: 23.98 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3226, allocations: 4 kB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.263e-05/0.3227, allocations: 15.89 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3227, allocations: 4 kB / 1.025 GB, free: 3.188 MB / 0.795 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.0001169/0.3228, allocations: 137.7 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.3229, allocations: 19.81 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.526e-05/0.3229, allocations: 25.5 kB / 1.025 GB, free: 3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3229, allocations: 8 kB / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.323, allocations: 0 / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.323, allocations: 0 / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.3232, allocations: 237.5 kB / 1.025 GB, free: 2.711 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3232, allocations: 0 / 1.025 GB, free: 2.711 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.3232, allocations: 23.97 kB / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3233, allocations: 0 / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3233, allocations: 4 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3233, allocations: 0 / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3233, allocations: 3.984 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.3236, allocations: 221.9 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.3237, allocations: 92.91 kB / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.3237, allocations: 4 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.3238, allocations: 8 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.3238, allocations: 11.92 kB / 1.026 GB, free: 2.312 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.3239, allocations: 12 kB / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001314/0.324, allocations: 152.2 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.324, allocations: 8 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002562/0.3243, allocations: 32 kB / 1.026 GB, free: 2.113 MB / 0.795 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.001105/0.3254, allocations: 458 kB / 1.026 GB, free: 1.828 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.3257, allocations: 135.9 kB / 1.026 GB, free: 1.695 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3257, allocations: 0 / 1.026 GB, free: 1.695 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3259, allocations: 66.78 kB / 1.027 GB, free: 1.633 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3262, allocations: 36.59 kB / 1.027 GB, free: 1.598 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.3268, allocations: 325.9 kB / 1.027 GB, free: 1.25 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3271, allocations: 0.7202 MB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.3272, allocations: 27.42 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.3272, allocations: 0 / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of Templates: time 0.005235/0.3325, allocations: 2.803 MB / 1.03 GB, free: 13.71 MB / 0.8106 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/jenkins1/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