Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008759/0.008759, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.002027/0.002028, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 63.91 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9907/0.9925, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003461/0.9961, allocations: 1.647 MB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.9983, allocations: 1.479 MB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.544e-05/0.9985, allocations: 1.312 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.999, allocations: 56.67 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.9993, allocations: 59.06 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.9996, allocations: 102.9 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.9999, allocations: 169.1 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/1, allocations: 5.719 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/1, allocations: 58.33 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/1, allocations: 67.48 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/1, allocations: 9.938 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/1.001, allocations: 72.34 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/1.001, allocations: 38.91 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.015e-05/1.001, allocations: 65.41 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003626/1.001, allocations: 196.1 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.001, allocations: 0.75 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/1.001, allocations: 0.7812 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.072e-06/1.001, allocations: 0 / 1.092 GB, free: 2.906 MB / 0.8575 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.0006775/1.002, allocations: 468.6 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.002, allocations: 9.156 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/1.002, allocations: 17.52 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/1.002, allocations: 267.5 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/1.002, allocations: 10.88 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/1.003, allocations: 8.25 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/1.003, allocations: 115.1 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.003, allocations: 3.938 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/1.003, allocations: 5.125 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/1.003, allocations: 2.766 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/1.003, allocations: 143.3 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/1.003, allocations: 235.3 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/1.004, allocations: 174.5 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/1.004, allocations: 55.36 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/1.004, allocations: 9.688 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/1.004, allocations: 114.5 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/1.004, allocations: 4 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005943/1.005, allocations: 222 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/1.005, allocations: 80.25 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/1.005, allocations: 196.4 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/1.005, allocations: 32.47 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/1.005, allocations: 110.6 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.977e-05/1.005, allocations: 47.89 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/1.005, allocations: 33.08 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.943e-05/1.006, allocations: 328.3 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/1.006, allocations: 51.11 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/1.006, allocations: 74.52 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/1.006, allocations: 118.6 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.006, allocations: 0 / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003937/1.007, allocations: 200 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.007, allocations: 4.688 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.007, allocations: 0.9688 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.007, allocations: 0.8438 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/1.007, allocations: 33.06 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/1.007, allocations: 5.656 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/1.007, allocations: 11.98 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/1.007, allocations: 5.578 kB / 1.095 GB, free: 0.6406 MB / 0.8575 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.0001162/1.007, allocations: 143.3 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/1.007, allocations: 16.8 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.268e-05/1.007, allocations: 26.16 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.007, allocations: 5.062 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.007, allocations: 0.6875 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.007, allocations: 1.453 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/1.007, allocations: 234.7 kB / 1.095 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.007, allocations: 0.875 kB / 1.095 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/1.007, allocations: 22.17 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/1.007, allocations: 4.812 kB / 1.095 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/1.008, allocations: 8.094 kB / 1.095 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/1.008, allocations: 8.703 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.008, allocations: 0.875 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/1.008, allocations: 213.1 kB / 1.096 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/1.008, allocations: 90.47 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/1.008, allocations: 7.922 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/1.008, allocations: 3.234 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/1.008, allocations: 12.08 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/1.008, allocations: 11.48 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002165/1.008, allocations: 153.2 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/1.008, allocations: 0.5 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003373/1.009, allocations: 39.94 kB / 1.096 GB, free: 15.9 MB / 0.8731 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.001262/1.01, allocations: 460.2 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000396/1.01, allocations: 121.9 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.011, allocations: 0 / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/1.011, allocations: 62.42 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/1.011, allocations: 38.14 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008349/1.012, allocations: 293.4 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/1.012, allocations: 0.7191 MB / 1.097 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001866/1.012, allocations: 52.05 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.232e-05/1.013, allocations: 34.03 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of SimCode: time 9.22e-07/1.013, allocations: 0 / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.008505/1.021, allocations: 2.52 MB / 1.1 GB, free: 14.43 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches