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.001631/0.001631, allocations: 109.2 kB / 16.41 MB, free: 6.441 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.001758/0.001758, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.15 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.237/2.237, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9017/0.903, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002783/0.9059, allocations: 1.649 MB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.908, allocations: 1.483 MB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.37e-05/0.9081, allocations: 5.156 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004767/0.9086, allocations: 54.11 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.9087, allocations: 53.67 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.909, allocations: 102.8 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.9093, allocations: 169.8 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.9093, allocations: 14.25 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.9095, allocations: 53.25 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.9096, allocations: 77.16 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.9097, allocations: 9.906 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.9098, allocations: 64.91 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.661e-05/0.9099, allocations: 46.81 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.259e-05/0.91, allocations: 57.58 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.9103, allocations: 200.3 kB / 1.093 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9103, allocations: 0 / 1.093 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9103, allocations: 0 / 1.093 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.9103, allocations: 1.641 kB / 1.093 GB, free: 2.918 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.0005697/0.9109, allocations: 465.6 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.9109, allocations: 9.844 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.911, allocations: 16.42 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.9113, allocations: 272.5 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.9114, allocations: 6.281 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.9114, allocations: 8.062 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.9117, allocations: 115.4 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.9117, allocations: 0 / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.9117, allocations: 2.234 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.9117, allocations: 0.6562 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.912, allocations: 140.7 kB / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.9123, allocations: 246.2 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.9127, allocations: 171.6 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.9128, allocations: 59.17 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.9128, allocations: 5.516 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.9131, allocations: 111.1 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.9131, allocations: 0 / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005352/0.9136, allocations: 226.8 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.9137, allocations: 82.64 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.9139, allocations: 197 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.9139, allocations: 32.38 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.914, allocations: 110.2 kB / 1.095 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.914, allocations: 44.02 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.9141, allocations: 36.83 kB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.9141, allocations: 326.3 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.9143, allocations: 49.59 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.9144, allocations: 74.42 kB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.9146, allocations: 126.5 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9146, allocations: 4.031 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003428/0.9149, allocations: 194.5 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.915, allocations: 6.859 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.915, allocations: 0 / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.915, allocations: 1.469 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.9151, allocations: 28.48 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.9151, allocations: 6.031 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.9152, allocations: 12.3 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.9152, allocations: 8.5 kB / 1.096 GB, free: 0.6523 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 9.891e-05/0.9153, allocations: 139.7 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.9154, allocations: 20.91 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.9154, allocations: 26.19 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.9155, allocations: 1.156 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9155, allocations: 8.438 kB / 1.096 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.9155, allocations: 1.391 kB / 1.096 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.9157, allocations: 235 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9157, allocations: 0.875 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/0.9157, allocations: 22.31 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.9157, allocations: 0.875 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.9158, allocations: 8.328 kB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.9158, allocations: 0.875 kB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.9158, allocations: 0 / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.9162, allocations: 210 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.9162, allocations: 90.03 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.9162, allocations: 11.06 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.81e-05/0.9163, allocations: 11.66 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.9163, allocations: 13.02 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.9164, allocations: 6.859 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001568/0.9165, allocations: 153.8 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9165, allocations: 0 / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002711/0.9168, allocations: 39.52 kB / 1.097 GB, free: 15.92 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.00106/0.9179, allocations: 460.2 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.9182, allocations: 126.5 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.9182, allocations: 0 / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.9183, allocations: 62.61 kB / 1.097 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.0002971/0.9186, allocations: 41 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.0005879/0.9192, allocations: 326.5 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.9195, allocations: 0.7199 MB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/0.9196, allocations: 33.72 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9196, allocations: 0 / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of Templates: time 0.005905/0.9256, allocations: 2.808 MB / 1.101 GB, free: 14.39 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/jenkins1/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