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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000986/0.0009859, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001325, allocations: 181.8 kB / 16.92 MB, free: 6.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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003601, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7694/0.7698, allocations: 142.4 MB / 0.9557 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001808/0.7717, allocations: 1.352 MB / 0.957 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.7734, allocations: 1.441 MB / 0.9584 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.7735, allocations: 5 kB / 0.9585 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.7739, allocations: 55.95 kB / 0.9585 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.774, allocations: 42.14 kB / 0.9585 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.7743, allocations: 87.61 kB / 0.9586 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.7745, allocations: 153.7 kB / 0.9588 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.005e-05/0.7746, allocations: 14.12 kB / 0.9588 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.7746, allocations: 61.73 kB / 0.9589 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.7748, allocations: 61.08 kB / 0.9589 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.7748, allocations: 4.5 kB / 0.9589 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.775, allocations: 64.06 kB / 0.959 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.775, allocations: 34.97 kB / 0.959 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.7751, allocations: 83.02 kB / 0.9591 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.7753, allocations: 146.8 kB / 0.9592 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7753, allocations: 0 / 0.9592 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7753, allocations: 4 kB / 0.9592 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.7753, allocations: 0 / 0.9592 GB, free: 5.098 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.0004854/0.7758, allocations: 441.5 kB / 0.9597 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7759, allocations: 9.625 kB / 0.9597 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.7759, allocations: 15.62 kB / 0.9597 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.7762, allocations: 255.5 kB / 0.9599 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.7762, allocations: 9.688 kB / 0.9599 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.7762, allocations: 8.25 kB / 0.9599 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.7765, allocations: 115.1 kB / 0.96 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.7765, allocations: 3.984 kB / 0.96 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.7765, allocations: 5.375 kB / 0.9601 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.7765, allocations: 1.375 kB / 0.9601 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.7767, allocations: 143.5 kB / 0.9602 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.7769, allocations: 235.6 kB / 0.9604 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.7773, allocations: 170.5 kB / 0.9606 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.975e-05/0.7774, allocations: 62.89 kB / 0.9606 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.7774, allocations: 4.234 kB / 0.9606 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.7777, allocations: 116 kB / 0.9608 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.7777, allocations: 0 / 0.9608 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.000479/0.7782, allocations: 228.8 kB / 0.961 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.7782, allocations: 83.14 kB / 0.9611 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.7784, allocations: 201.5 kB / 0.9612 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.7784, allocations: 31.02 kB / 0.9613 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.7785, allocations: 110.5 kB / 0.9614 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.7786, allocations: 39.61 kB / 0.9614 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.7786, allocations: 17.44 kB / 0.9614 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.7787, allocations: 332 kB / 0.9618 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.7788, allocations: 44.2 kB / 0.9618 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.7789, allocations: 80.58 kB / 0.9619 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.7791, allocations: 123.9 kB / 0.962 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7791, allocations: 0.9688 kB / 0.962 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003183/0.7794, allocations: 194.8 kB / 0.9622 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7795, allocations: 4.969 kB / 0.9622 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7795, allocations: 1.094 kB / 0.9622 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.7795, allocations: 4.875 kB / 0.9622 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.7796, allocations: 29.08 kB / 0.9622 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7796, allocations: 1.375 kB / 0.9622 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.7797, allocations: 12.28 kB / 0.9622 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.7797, allocations: 4.188 kB / 0.9622 GB, free: 2.59 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.0001135/0.7798, allocations: 150.7 kB / 0.9624 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.7799, allocations: 16.38 kB / 0.9624 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.486e-05/0.7799, allocations: 26.61 kB / 0.9624 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.78, allocations: 5.688 kB / 0.9624 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.78, allocations: 0 / 0.9624 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.78, allocations: 1.031 kB / 0.9624 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.7802, allocations: 237.9 kB / 0.9626 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7802, allocations: 1.094 kB / 0.9626 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.7802, allocations: 19.2 kB / 0.9627 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.7802, allocations: 4.906 kB / 0.9627 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.7803, allocations: 6.031 kB / 0.9627 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7803, allocations: 1.156 kB / 0.9627 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7803, allocations: 5.25 kB / 0.9627 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.7806, allocations: 212.9 kB / 0.9629 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.7807, allocations: 102.3 kB / 0.963 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.7807, allocations: 3.25 kB / 0.963 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.7807, allocations: 6.25 kB / 0.963 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.7808, allocations: 9.703 kB / 0.963 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.7808, allocations: 4.656 kB / 0.963 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001165/0.7809, allocations: 159 kB / 0.9632 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7809, allocations: 4 kB / 0.9632 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002595/0.7812, allocations: 34.44 kB / 0.9632 GB, free: 1.77 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.001107/0.7823, allocations: 468.6 kB / 0.9636 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.7826, allocations: 128.1 kB / 0.9638 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7826, allocations: 0 / 0.9638 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.7827, allocations: 63.09 kB / 0.9638 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.783, allocations: 44.83 kB / 0.9639 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.7836, allocations: 356.1 kB / 0.9642 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.7838, allocations: 0.7214 MB / 0.9649 GB, free: 448 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.7838, allocations: 29.55 kB / 0.9649 GB, free: 436 kB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7839, allocations: 0 / 0.9649 GB, free: 436 kB / 0.7169 GB Notification: Performance of Templates: time 0.005153/0.789, allocations: 2.775 MB / 0.9676 GB, free: 15.03 MB / 0.7325 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