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.006118/0.006118, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001143/0.001143, allocations: 196.7 kB / 16.68 MB, free: 5.969 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.517/2.517, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.95 kB / 0.9509 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3595, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003074/0.3626, allocations: 1.626 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.3649, allocations: 1.488 MB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.365, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.3656, allocations: 55.77 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3658, allocations: 51.7 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.3661, allocations: 115.4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.3664, allocations: 159.6 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.3664, allocations: 28.12 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.3665, allocations: 55.78 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.3667, allocations: 67.8 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.3668, allocations: 12 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.3669, allocations: 63.97 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.367, allocations: 47.83 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.239e-05/0.3671, allocations: 55.61 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.3674, allocations: 211.1 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3674, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3674, allocations: 3.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3674, allocations: 0 / 1.092 GB, free: 13.41 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.0006892/0.3681, allocations: 470.3 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.3682, allocations: 8.031 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.3683, allocations: 16.84 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.3687, allocations: 271.5 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3687, allocations: 8.375 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.3688, allocations: 12.12 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.369, allocations: 119.3 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.369, allocations: 0 / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.3691, allocations: 4 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3691, allocations: 0 / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.3693, allocations: 139.9 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.3696, allocations: 233.5 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.37, allocations: 170.6 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3701, allocations: 56.78 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.3701, allocations: 4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.3704, allocations: 111.3 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.3704, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005054/0.3709, allocations: 229.5 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.371, allocations: 77.11 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.3712, allocations: 198.9 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.3712, allocations: 37.64 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.3713, allocations: 108.1 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.3714, allocations: 51.56 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.3714, allocations: 33.7 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3716, allocations: 330.8 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.754e-05/0.3717, allocations: 51.97 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3718, allocations: 70.55 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.372, allocations: 121.6 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.372, allocations: 3.984 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003114/0.3723, allocations: 190.6 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3724, allocations: 12.05 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3724, allocations: 0 / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3724, allocations: 4 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.3725, allocations: 27.98 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3725, allocations: 0 / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.3726, allocations: 7.953 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.3726, allocations: 7.938 kB / 1.095 GB, free: 10.03 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.0001357/0.3728, allocations: 145.6 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.3728, allocations: 15.91 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.09e-05/0.3729, allocations: 37.5 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3729, allocations: 0 / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3729, allocations: 0 / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3729, allocations: 3.984 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.3731, allocations: 245.5 kB / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3731, allocations: 0 / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.3732, allocations: 16 kB / 1.095 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3732, allocations: 0 / 1.095 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3732, allocations: 11.98 kB / 1.095 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3732, allocations: 0 / 1.095 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3732, allocations: 0 / 1.095 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.3736, allocations: 217.9 kB / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.3737, allocations: 89.02 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.3737, allocations: 11.94 kB / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.264e-05/0.3737, allocations: 0 / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3738, allocations: 15.98 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.3738, allocations: 4 kB / 1.096 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001303/0.374, allocations: 156.2 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.374, allocations: 4 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002567/0.3742, allocations: 35.94 kB / 1.096 GB, free: 8.945 MB / 0.8575 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.001122/0.3754, allocations: 451 kB / 1.096 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.3756, allocations: 129.5 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3757, allocations: 0 / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.3758, allocations: 63.91 kB / 1.097 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.3761, allocations: 42.72 kB / 1.097 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.3767, allocations: 286.8 kB / 1.097 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.377, allocations: 0.7242 MB / 1.098 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.3771, allocations: 45.5 kB / 1.098 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.3772, allocations: 35.42 kB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of SimCode: time 7.92e-07/0.3772, allocations: 0 / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of Templates: time 0.005797/0.383, allocations: 2.523 MB / 1.1 GB, free: 4.828 MB / 0.8575 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