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.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.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.001137/0.001137, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001215/0.001215, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.14 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.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9879/0.9895, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.05879/1.048, allocations: 46.01 MB / 1.134 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02115/1.07, allocations: 11.52 MB / 1.145 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003654/1.073, allocations: 63.72 kB / 1.145 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002993/1.076, allocations: 0.7098 MB / 1.146 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009018/1.085, allocations: 2.326 MB / 1.148 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005399/1.091, allocations: 1.518 MB / 1.149 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.03772/1.128, allocations: 22.8 MB / 1.172 GB, free: 14.84 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01952/1.148, allocations: 9.356 MB / 1.181 GB, free: 9.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02073/1.169, allocations: 7.526 MB / 1.188 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01458/1.183, allocations: 6.135 MB / 1.194 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.004055/1.188, allocations: 0.8312 MB / 1.195 GB, free: 1.258 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/1.199, allocations: 2.037 MB / 1.197 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.005861/1.205, allocations: 2.099 MB / 1.199 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.014/1.219, allocations: 4.512 MB / 1.203 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02072/1.24, allocations: 13.06 MB / 1.216 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/1.24, allocations: 0 / 1.216 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/1.24, allocations: 0 / 1.216 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004883/1.24, allocations: 0 / 1.216 GB, free: 11.49 MB / 0.9512 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.02595/1.266, allocations: 8.281 MB / 1.224 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.266, allocations: 8.031 kB / 1.224 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005494/1.272, allocations: 0.8625 MB / 1.225 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01985/1.292, allocations: 7.857 MB / 1.233 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005726/1.292, allocations: 411.9 kB / 1.233 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002474/1.295, allocations: 0.5115 MB / 1.234 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02281/1.317, allocations: 7.679 MB / 1.241 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002836/1.318, allocations: 19.78 kB / 1.241 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001887/1.32, allocations: 224 kB / 1.241 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002378/1.32, allocations: 167.9 kB / 1.241 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/1.334, allocations: 6.071 MB / 1.247 GB, free: 10.92 MB / 0.9825 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.0547/1.389, allocations: 29.35 MB / 1.276 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005958/1.395, allocations: 3.384 MB / 1.279 GB, free: 8.934 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003347/1.398, allocations: 1.96 MB / 1.281 GB, free: 6.973 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/1.4, allocations: 0.9865 MB / 1.282 GB, free: 5.781 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/1.4, allocations: 77.06 kB / 1.282 GB, free: 5.699 MB / 1.014 GB Notification: Performance of pre-optimization done (n=253): time 5.751e-06/1.4, allocations: 0 / 1.282 GB, free: 5.699 MB / 1.014 GB Notification: Performance of matching and sorting (n=253): time 0.009867/1.41, allocations: 4.691 MB / 1.287 GB, free: 1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/1.41, allocations: 81.34 kB / 1.287 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01336/1.423, allocations: 6.431 MB / 1.293 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0006653/1.424, allocations: 85.7 kB / 1.293 GB, free: 10.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.003393/1.427, allocations: 2.976 MB / 1.296 GB, free: 7.371 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001617/1.429, allocations: 0.8974 MB / 1.297 GB, free: 6.461 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001671/1.431, allocations: 0.6907 MB / 1.298 GB, free: 5.762 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.431, allocations: 301.1 kB / 1.298 GB, free: 5.465 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/1.434, allocations: 1.645 MB / 1.3 GB, free: 3.812 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003636/1.437, allocations: 2.678 MB / 1.302 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006737/1.444, allocations: 4.594 MB / 1.307 GB, free: 11.63 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-05/1.444, allocations: 12 kB / 1.307 GB, free: 11.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009742/1.454, allocations: 4.962 MB / 1.312 GB, free: 6.605 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/1.454, allocations: 23.94 kB / 1.312 GB, free: 6.582 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.612e-05/1.454, allocations: 32 kB / 1.312 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.117e-05/1.454, allocations: 48 kB / 1.312 GB, free: 6.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/1.457, allocations: 0.8155 MB / 1.313 GB, free: 5.688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009058/1.458, allocations: 1.246 MB / 1.314 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00544/1.464, allocations: 0.5148 MB / 1.314 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004184/1.464, allocations: 156 kB / 1.314 GB, free: 3.723 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006916/1.471, allocations: 3.906 MB / 1.318 GB, free: 15.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00356/1.474, allocations: 2.674 MB / 1.321 GB, free: 12.69 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007056/1.482, allocations: 4.586 MB / 1.325 GB, free: 7.633 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.058e-05/1.482, allocations: 8 kB / 1.325 GB, free: 7.625 MB / 1.061 GB Notification: Performance of matching and sorting (n=436) (initialization_lambda0): time 0.009962/1.492, allocations: 4.955 MB / 1.33 GB, free: 2.621 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/1.492, allocations: 22.44 kB / 1.33 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.868e-05/1.492, allocations: 35.98 kB / 1.33 GB, free: 2.566 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.719e-05/1.492, allocations: 52 kB / 1.33 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/1.494, allocations: 0.78 MB / 1.331 GB, free: 1.734 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.945e-05/1.495, allocations: 67.78 kB / 1.331 GB, free: 1.668 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00516/1.5, allocations: 385.2 kB / 1.331 GB, free: 1.289 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004731/1.5, allocations: 160 kB / 1.332 GB, free: 1.133 MB / 1.061 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.001242/1.501, allocations: 415 kB / 1.332 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003277/1.505, allocations: 0.5597 MB / 1.333 GB, free: 156 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009333/1.514, allocations: 3.895 MB / 1.336 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004925/1.519, allocations: 3.002 MB / 1.339 GB, free: 9.141 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/1.519, allocations: 7.922 kB / 1.339 GB, free: 9.133 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004919/1.524, allocations: 1.24 MB / 1.34 GB, free: 7.867 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002003/1.526, allocations: 59.98 kB / 1.341 GB, free: 7.809 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004808/1.531, allocations: 203.6 kB / 1.341 GB, free: 7.609 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/1.531, allocations: 145.8 kB / 1.341 GB, free: 7.465 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007854/1.539, allocations: 3.824 MB / 1.345 GB, free: 3.586 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01037/1.549, allocations: 6.231 MB / 1.351 GB, free: 13.27 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002278/1.552, allocations: 1.66 MB / 1.352 GB, free: 11.59 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.009743/1.562, allocations: 4.566 MB / 1.357 GB, free: 7.023 MB / 1.092 GB Notification: Performance of Backend: time 6.82e-07/1.562, allocations: 3.938 kB / 1.357 GB, free: 7.02 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01665/1.578, allocations: 5.285 MB / 1.362 GB, free: 1.742 MB / 1.092 GB Notification: Performance of SimCode: time 0.04093/1.619, allocations: 16.32 MB / 1.378 GB, free: 1.477 MB / 1.107 GB Notification: Performance of Templates: time 0.2265/1.846, allocations: 144 MB / 1.519 GB, free: 2.605 MB / 1.248 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