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.00131/0.00131, allocations: 107.9 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.001361/0.001361, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 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.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 63.91 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.01, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003249/1.014, allocations: 1.651 MB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002305/1.016, allocations: 1.482 MB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/1.016, allocations: 5.469 kB / 1.092 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005066/1.017, allocations: 49.28 kB / 1.092 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000217/1.017, allocations: 54.5 kB / 1.092 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/1.017, allocations: 106.7 kB / 1.092 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000275/1.017, allocations: 174.3 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/1.017, allocations: 9.297 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/1.018, allocations: 54.45 kB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/1.018, allocations: 76.42 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/1.018, allocations: 9.938 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/1.018, allocations: 64.84 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.378e-05/1.018, allocations: 43.28 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/1.018, allocations: 57.59 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003608/1.019, allocations: 197.6 kB / 1.093 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.019, allocations: 4.781 kB / 1.093 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/1.019, allocations: 4 kB / 1.093 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.974e-06/1.019, allocations: 0.7812 kB / 1.093 GB, free: 3.172 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.000595/1.019, allocations: 468.9 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/1.019, allocations: 9.719 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/1.019, allocations: 15.28 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/1.02, allocations: 268.9 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/1.02, allocations: 6.734 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/1.02, allocations: 12.03 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/1.02, allocations: 118.8 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/1.02, allocations: 1.641 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/1.02, allocations: 0.8438 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.02, allocations: 1.156 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/1.02, allocations: 140.1 kB / 1.094 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/1.021, allocations: 234.4 kB / 1.094 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/1.021, allocations: 179.7 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/1.021, allocations: 59.23 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/1.021, allocations: 6.406 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/1.021, allocations: 105.9 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/1.021, allocations: 0 / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005073/1.022, allocations: 230.2 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/1.022, allocations: 79.91 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/1.022, allocations: 196.5 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/1.022, allocations: 32.66 kB / 1.095 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/1.022, allocations: 110 kB / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/1.022, allocations: 44.38 kB / 1.095 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/1.022, allocations: 32.66 kB / 1.095 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.035e-05/1.022, allocations: 325.3 kB / 1.095 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/1.023, allocations: 58.5 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/1.023, allocations: 71.7 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/1.023, allocations: 126.8 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.023, allocations: 0 / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003509/1.023, allocations: 194.3 kB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.023, allocations: 6.281 kB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.023, allocations: 4.969 kB / 1.096 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/1.023, allocations: 0.8125 kB / 1.096 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/1.024, allocations: 28.83 kB / 1.096 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/1.024, allocations: 1.625 kB / 1.096 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/1.024, allocations: 15.83 kB / 1.096 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/1.024, allocations: 9.188 kB / 1.096 GB, free: 0.9023 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.0001454/1.024, allocations: 136.6 kB / 1.096 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/1.024, allocations: 15.62 kB / 1.096 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.558e-05/1.024, allocations: 30.33 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.024, allocations: 1.969 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.024, allocations: 3.938 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/1.024, allocations: 1.391 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/1.024, allocations: 240 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.024, allocations: 0 / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/1.024, allocations: 18.05 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.024, allocations: 0.6094 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/1.024, allocations: 8.188 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.024, allocations: 1.203 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/1.024, allocations: 0.9062 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/1.025, allocations: 213.1 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/1.025, allocations: 90.14 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/1.025, allocations: 7.188 kB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.945e-05/1.025, allocations: 7.375 kB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/1.025, allocations: 17.56 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/1.025, allocations: 6.422 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001379/1.025, allocations: 153.5 kB / 1.097 GB, free: 192 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.025, allocations: 4 kB / 1.097 GB, free: 188 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002821/1.025, allocations: 39.36 kB / 1.097 GB, free: 176 kB / 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.001194/1.027, allocations: 455.4 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003363/1.027, allocations: 128.9 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.027, allocations: 1.031 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/1.027, allocations: 61.64 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/1.027, allocations: 48.89 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/1.028, allocations: 321.9 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/1.028, allocations: 0.7233 MB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/1.029, allocations: 34 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/1.029, allocations: 1.125 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.006839/1.035, allocations: 2.817 MB / 1.101 GB, free: 14.63 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