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.007832/0.007832, allocations: 102.5 kB / 15.73 MB, free: 6.008 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.001662/0.001662, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.532/1.532, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.382/2.382, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.89 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.055, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.00313/1.059, allocations: 1.657 MB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002064/1.061, allocations: 1.482 MB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.07e-05/1.061, allocations: 1.094 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004777/1.061, allocations: 57.56 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/1.062, allocations: 55.05 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/1.062, allocations: 110 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002631/1.062, allocations: 172.5 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/1.062, allocations: 6.703 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/1.062, allocations: 62.69 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/1.063, allocations: 64.11 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/1.063, allocations: 9.969 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/1.063, allocations: 67.94 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.665e-05/1.063, allocations: 43.62 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.028e-05/1.063, allocations: 66 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/1.063, allocations: 196.5 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.063, allocations: 0 / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/1.063, allocations: 0 / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.063, allocations: 0.6562 kB / 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.0005841/1.064, allocations: 466.3 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.064, allocations: 13.5 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/1.064, allocations: 16.86 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/1.064, allocations: 267.9 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/1.064, allocations: 3.109 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/1.064, allocations: 11.84 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/1.065, allocations: 115.8 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.065, allocations: 0 / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/1.065, allocations: 1.359 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.065, allocations: 1.625 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/1.065, allocations: 140.1 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/1.065, allocations: 246.7 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/1.066, allocations: 166.3 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/1.066, allocations: 55.55 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/1.066, allocations: 9.609 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/1.066, allocations: 114.6 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/1.066, allocations: 0 / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005892/1.067, allocations: 222.3 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/1.067, allocations: 79.72 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/1.067, allocations: 197.7 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/1.067, allocations: 32.47 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/1.067, allocations: 113.9 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/1.067, allocations: 43.86 kB / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/1.067, allocations: 36.34 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/1.067, allocations: 329.8 kB / 1.094 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/1.067, allocations: 45.95 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/1.067, allocations: 71.53 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/1.068, allocations: 122.2 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.068, allocations: 1.156 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003644/1.068, allocations: 206.6 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.068, allocations: 4.922 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.068, allocations: 9.438 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.068, allocations: 1.344 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/1.068, allocations: 24.61 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.068, allocations: 5.25 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.857e-05/1.068, allocations: 16.47 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/1.068, allocations: 4.609 kB / 1.095 GB, free: 0.6367 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.0001152/1.069, allocations: 140.1 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/1.069, allocations: 16.39 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.7e-05/1.069, allocations: 25.97 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.069, allocations: 1.938 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.069, allocations: 0.7969 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.069, allocations: 1.516 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/1.069, allocations: 238.8 kB / 1.095 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.069, allocations: 0.9062 kB / 1.095 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/1.069, allocations: 21.59 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/1.069, allocations: 0.5938 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/1.069, allocations: 8.062 kB / 1.095 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/1.069, allocations: 1.859 kB / 1.095 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.069, allocations: 0.7188 kB / 1.095 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/1.069, allocations: 212.6 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/1.069, allocations: 90.36 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/1.07, allocations: 2.906 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.73e-05/1.07, allocations: 6.891 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/1.07, allocations: 14.78 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/1.07, allocations: 5.734 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001871/1.07, allocations: 154.2 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.07, allocations: 3.938 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002838/1.07, allocations: 43.64 kB / 1.096 GB, free: 15.91 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.001244/1.071, allocations: 461.2 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003848/1.072, allocations: 122 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.072, allocations: 0 / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/1.072, allocations: 66.14 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/1.072, allocations: 38.62 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/1.073, allocations: 297.7 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/1.073, allocations: 0.7193 MB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001397/1.073, allocations: 55.41 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/1.074, allocations: 29.84 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.074, allocations: 0 / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.00816/1.082, allocations: 2.517 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