Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.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.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009695/0.0009694, allocations: 92.39 kB / 16.02 MB, free: 80 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.001227/0.001227, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.449/1.449, allocations: 223.3 MB / 241 MB, free: 5.281 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.498/2.498, allocations: 390.9 MB / 0.667 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6641/0.6645, allocations: 142.4 MB / 0.9557 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04515/0.7097, allocations: 44.81 MB / 0.9995 GB, free: 2.414 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01854/0.7283, allocations: 11.45 MB / 1.011 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/0.7311, allocations: 55.69 kB / 1.011 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.7332, allocations: 0.5554 MB / 1.011 GB, free: 6.32 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007038/0.7403, allocations: 2.057 MB / 1.013 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004134/0.7444, allocations: 1.373 MB / 1.015 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02897/0.7734, allocations: 29.34 MB / 1.043 GB, free: 5.488 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.7849, allocations: 7.327 MB / 1.05 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/0.7968, allocations: 5.375 MB / 1.056 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/0.8078, allocations: 5.623 MB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002076/0.81, allocations: 288 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007176/0.8172, allocations: 1.392 MB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00367/0.8209, allocations: 1.431 MB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.008959/0.8299, allocations: 3.752 MB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01372/0.8436, allocations: 10.33 MB / 1.078 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.8437, allocations: 3.984 kB / 1.078 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8437, allocations: 0 / 1.078 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0004553/0.8442, allocations: 0 / 1.078 GB, free: 1.77 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01982/0.864, allocations: 6.634 MB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.8641, allocations: 12.03 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006388/0.8705, allocations: 0.8586 MB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01629/0.8868, allocations: 7.81 MB / 1.093 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005437/0.8874, allocations: 415.9 kB / 1.093 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002044/0.8894, allocations: 0.5076 MB / 1.094 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02066/0.9101, allocations: 7.675 MB / 1.101 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002966/0.9105, allocations: 23.88 kB / 1.101 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001578/0.9121, allocations: 228 kB / 1.102 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002201/0.9123, allocations: 167.9 kB / 1.102 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/0.9261, allocations: 6.079 MB / 1.108 GB, free: 2.887 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05014/0.9763, allocations: 29.29 MB / 1.136 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006065/0.9824, allocations: 3.401 MB / 1.14 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003425/0.9859, allocations: 1.972 MB / 1.141 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.9871, allocations: 0.9982 MB / 1.142 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.9872, allocations: 77.06 kB / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=253): time 8.215e-06/0.9873, allocations: 0 / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=253): time 0.01/0.9973, allocations: 4.711 MB / 1.147 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.9974, allocations: 77.41 kB / 1.147 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01362/1.011, allocations: 6.154 MB / 1.153 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0008152/1.012, allocations: 85.64 kB / 1.153 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.003934/1.016, allocations: 2.976 MB / 1.156 GB, free: 15.62 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001669/1.018, allocations: 0.9013 MB / 1.157 GB, free: 14.7 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007832/1.018, allocations: 288.9 kB / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.197e-05/1.018, allocations: 301.1 kB / 1.158 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/1.022, allocations: 1.638 MB / 1.159 GB, free: 12.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003886/1.025, allocations: 2.69 MB / 1.162 GB, free: 9.336 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007086/1.033, allocations: 4.594 MB / 1.166 GB, free: 4.277 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.478e-05/1.033, allocations: 16 kB / 1.166 GB, free: 4.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01069/1.043, allocations: 4.974 MB / 1.171 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008098/1.044, allocations: 1.035 MB / 1.172 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-05/1.044, allocations: 32 kB / 1.172 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-05/1.044, allocations: 52 kB / 1.172 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003531/1.048, allocations: 0.8073 MB / 1.173 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008513/1.049, allocations: 1.25 MB / 1.174 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005798/1.055, allocations: 0.6163 MB / 1.175 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006867/1.055, allocations: 160 kB / 1.175 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.055, allocations: 4 kB / 1.175 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008818/1.064, allocations: 4.455 MB / 1.179 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.204e-05/1.064, allocations: 32 kB / 1.179 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.582e-05/1.064, allocations: 48 kB / 1.179 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/1.067, allocations: 0.7846 MB / 1.18 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.121e-05/1.068, allocations: 67.78 kB / 1.18 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00547/1.073, allocations: 0.5506 MB / 1.181 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006036/1.074, allocations: 163.9 kB / 1.181 GB, free: 4.652 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005405/1.079, allocations: 2.529 MB / 1.183 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002268/1.081, allocations: 0.5597 MB / 1.184 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008493/1.09, allocations: 3.91 MB / 1.188 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/1.09, allocations: 28 kB / 1.188 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/1.09, allocations: 3.984 kB / 1.188 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004977/1.095, allocations: 3.013 MB / 1.191 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/1.116, allocations: 9.749 MB / 1.2 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.116, allocations: 7.922 kB / 1.2 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002591/1.119, allocations: 0.5931 MB / 1.201 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.09e-05/1.119, allocations: 15.94 kB / 1.201 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002996/1.119, allocations: 75.95 kB / 1.201 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006314/1.12, allocations: 1.176 MB / 1.202 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.12, allocations: 12 kB / 1.202 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009878/1.13, allocations: 5.662 MB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005282/1.135, allocations: 1.321 MB / 1.209 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001941/1.137, allocations: 59.92 kB / 1.209 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005166/1.142, allocations: 386.8 kB / 1.209 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/1.143, allocations: 149.8 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004892/1.143, allocations: 147.9 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.008508/1.152, allocations: 4.347 MB / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.01e-07/1.152, allocations: 0 / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.01098/1.163, allocations: 3.242 MB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001639/1.164, allocations: 0.4945 MB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01194/1.176, allocations: 6.032 MB / 1.223 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.176, allocations: 4.562 kB / 1.223 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003086/1.179, allocations: 1.597 MB / 1.225 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02381/1.203, allocations: 3.953 MB / 1.229 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03097/1.234, allocations: 16.52 MB / 1.245 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5383/1.773, allocations: 4.528 MB / 1.249 GB, free: 255.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002511/1.775, allocations: 497.8 kB / 1.25 GB, free: 255.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.884e-06/1.775, allocations: 0 / 1.25 GB, free: 255.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.2296/2.005, allocations: 191.3 MB / 1.437 GB, free: 93.22 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches