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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001011/0.001011, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001032/0.001033, allocations: 172.7 kB / 15.95 MB, free: 208 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.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.748/2.748, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004674, allocations: 8 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7312/0.7317, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002453/0.7342, allocations: 1.337 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.7363, allocations: 1.374 MB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.891e-05/0.7364, allocations: 3.938 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.7369, allocations: 43.83 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.7371, allocations: 39.83 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.7373, allocations: 95.7 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.7376, allocations: 139.6 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.7376, allocations: 4.234 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.7377, allocations: 59.7 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.7379, allocations: 67.8 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.7379, allocations: 4 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.738, allocations: 51.98 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.7381, allocations: 43.83 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.7382, allocations: 41.64 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.7384, allocations: 141.7 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7384, allocations: 7.938 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7384, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.7384, allocations: 0 / 1.026 GB, free: 12.59 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.0005677/0.739, allocations: 448.7 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.739, allocations: 8.562 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.7391, allocations: 15.81 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.7394, allocations: 254.7 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.7394, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.7395, allocations: 8 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.7397, allocations: 123.2 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.7397, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.7397, allocations: 3.984 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7397, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.74, allocations: 143.8 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.7402, allocations: 237.4 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.7406, allocations: 170.6 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/0.7407, allocations: 52.83 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.7407, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.741, allocations: 115.2 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.741, allocations: 0 / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004841/0.7415, allocations: 225.4 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.7416, allocations: 77.11 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.7418, allocations: 203.2 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.7418, allocations: 29.7 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.7419, allocations: 112.2 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.482e-05/0.7419, allocations: 51.38 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.7419, allocations: 0 / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.7421, allocations: 326.8 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.219e-05/0.7422, allocations: 47.98 kB / 1.028 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.7423, allocations: 74.48 kB / 1.028 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.7424, allocations: 55.98 kB / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7424, allocations: 3.938 kB / 1.028 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002982/0.7427, allocations: 197 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.7427, allocations: 7.953 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7428, allocations: 64 / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.7428, allocations: 7.938 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.7429, allocations: 27.98 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.7429, allocations: 0 / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.743, allocations: 15.83 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.743, allocations: 4 kB / 1.029 GB, free: 9.355 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.0001277/0.7431, allocations: 133.8 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.7431, allocations: 19.75 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.7432, allocations: 33.47 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7432, allocations: 4 kB / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.7432, allocations: 0 / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7432, allocations: 0 / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.7434, allocations: 233.6 kB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7435, allocations: 0 / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/0.7435, allocations: 19.98 kB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7435, allocations: 0 / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.7436, allocations: 12 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.7436, allocations: 3.953 kB / 1.029 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7436, allocations: 3.984 kB / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.7439, allocations: 204.8 kB / 1.029 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.744, allocations: 100.8 kB / 1.029 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.744, allocations: 4 kB / 1.029 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.73e-05/0.7441, allocations: 8 kB / 1.029 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.7441, allocations: 11.94 kB / 1.029 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.7441, allocations: 7.984 kB / 1.029 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001355/0.7443, allocations: 151 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.383e-06/0.7443, allocations: 4 kB / 1.03 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002491/0.7445, allocations: 43.92 kB / 1.03 GB, free: 8.281 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.001074/0.7456, allocations: 465.4 kB / 1.03 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.7459, allocations: 126.6 kB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7459, allocations: 0 / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.746, allocations: 67.91 kB / 1.03 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.7463, allocations: 28.78 kB / 1.03 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.7469, allocations: 322.1 kB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.7472, allocations: 0.7205 MB / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.7473, allocations: 53.5 kB / 1.031 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.7474, allocations: 31.42 kB / 1.031 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.7474, allocations: 0 / 1.031 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of Templates: time 0.005695/0.7531, allocations: 2.316 MB / 1.034 GB, free: 4.324 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