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.001854/0.001854, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002471/0.002471, allocations: 193.2 kB / 16.14 MB, free: 6.711 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.53/1.53, allocations: 222.9 MB / 239.8 MB, free: 4.461 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.548/2.548, allocations: 390.2 MB / 0.6642 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7532/0.7545, allocations: 140.4 MB / 0.9489 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003017/0.7576, allocations: 1.697 MB / 0.9506 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.7594, allocations: 1.457 MB / 0.952 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.7595, allocations: 1.375 kB / 0.952 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.76, allocations: 51.08 kB / 0.9521 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.7601, allocations: 46.77 kB / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.7604, allocations: 87.08 kB / 0.9522 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.7606, allocations: 158.2 kB / 0.9523 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.7606, allocations: 8.406 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.275e-05/0.7607, allocations: 59.25 kB / 0.9524 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.7609, allocations: 69.08 kB / 0.9525 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.7609, allocations: 4.875 kB / 0.9525 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.761, allocations: 60.38 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.7611, allocations: 45.52 kB / 0.9526 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.697e-05/0.7612, allocations: 49.95 kB / 0.9526 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.7614, allocations: 188.4 kB / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.7615, allocations: 0 / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7615, allocations: 0 / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.7615, allocations: 1.375 kB / 0.9528 GB, free: 6.125 MB / 0.7169 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.0005497/0.762, allocations: 470.4 kB / 0.9533 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.7621, allocations: 13.25 kB / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.7621, allocations: 20.84 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.7624, allocations: 254 kB / 0.9535 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.7624, allocations: 6.891 kB / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.7625, allocations: 12.06 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.7627, allocations: 115 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.7627, allocations: 4 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.7627, allocations: 1.25 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7627, allocations: 5.062 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.763, allocations: 144.7 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.7632, allocations: 239.1 kB / 0.954 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.7636, allocations: 166.3 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.7637, allocations: 54 kB / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.7637, allocations: 12.88 kB / 0.9543 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.764, allocations: 121.1 kB / 0.9544 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.764, allocations: 0 / 0.9544 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004973/0.7645, allocations: 218.7 kB / 0.9546 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.7646, allocations: 82.36 kB / 0.9547 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.7648, allocations: 201.4 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.7648, allocations: 31.67 kB / 0.9549 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.7648, allocations: 117.8 kB / 0.955 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.7649, allocations: 40.3 kB / 0.955 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.765, allocations: 34.17 kB / 0.9551 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.765, allocations: 327.7 kB / 0.9554 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.924e-05/0.7651, allocations: 48.22 kB / 0.9554 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.7652, allocations: 77.31 kB / 0.9555 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.7655, allocations: 118.4 kB / 0.9556 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7655, allocations: 0 / 0.9556 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003177/0.7658, allocations: 199.2 kB / 0.9558 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7658, allocations: 11.27 kB / 0.9558 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7658, allocations: 1.547 kB / 0.9558 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7658, allocations: 5.25 kB / 0.9558 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.766, allocations: 25.27 kB / 0.9558 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.766, allocations: 1.219 kB / 0.9558 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.7661, allocations: 18.66 kB / 0.9559 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.7661, allocations: 4.281 kB / 0.9559 GB, free: 3.578 MB / 0.7169 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.0001048/0.7662, allocations: 141.4 kB / 0.956 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.7662, allocations: 16.03 kB / 0.956 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.7663, allocations: 27.11 kB / 0.956 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7663, allocations: 1.188 kB / 0.956 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7663, allocations: 0 / 0.956 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7663, allocations: 1.375 kB / 0.956 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.7665, allocations: 240.2 kB / 0.9563 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7665, allocations: 7.984 kB / 0.9563 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.7666, allocations: 16.75 kB / 0.9563 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7666, allocations: 0 / 0.9563 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.7666, allocations: 7.484 kB / 0.9563 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7666, allocations: 0 / 0.9563 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7666, allocations: 0 / 0.9563 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.7669, allocations: 213.6 kB / 0.9565 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.767, allocations: 102.2 kB / 0.9566 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.767, allocations: 9.406 kB / 0.9566 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.7671, allocations: 3.219 kB / 0.9566 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.7671, allocations: 8.422 kB / 0.9566 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.7671, allocations: 10.06 kB / 0.9566 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001354/0.7673, allocations: 159.6 kB / 0.9568 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7673, allocations: 0 / 0.9568 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002537/0.7675, allocations: 29.59 kB / 0.9568 GB, free: 2.777 MB / 0.7169 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.001092/0.7686, allocations: 475.5 kB / 0.9573 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002743/0.7689, allocations: 123.4 kB / 0.9574 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.7689, allocations: 0 / 0.9574 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.7691, allocations: 62.28 kB / 0.9574 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.7693, allocations: 41.33 kB / 0.9575 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005698/0.7699, allocations: 323.2 kB / 0.9578 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.7701, allocations: 0.7261 MB / 0.9585 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00012/0.7702, allocations: 48.31 kB / 0.9585 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.7703, allocations: 29.8 kB / 0.9586 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7703, allocations: 0 / 0.9586 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of Templates: time 0.005738/0.776, allocations: 2.413 MB / 0.9609 GB, free: 268 kB / 0.7169 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