Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001788/0.001788, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001769/0.00177, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.427/1.427, 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 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 64.12 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.965/0.9667, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04546/1.012, allocations: 46.03 MB / 1.212 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01915/1.031, allocations: 11.52 MB / 1.223 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/1.035, allocations: 63.62 kB / 1.224 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003425/1.039, allocations: 0.7181 MB / 1.224 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009753/1.048, allocations: 2.328 MB / 1.227 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004994/1.053, allocations: 1.519 MB / 1.228 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0266/1.08, allocations: 22.79 MB / 1.25 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0182/1.098, allocations: 9.346 MB / 1.259 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01689/1.115, allocations: 7.534 MB / 1.267 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01183/1.127, allocations: 6.139 MB / 1.273 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003413/1.131, allocations: 0.8281 MB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009334/1.14, allocations: 2.029 MB / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005635/1.146, allocations: 2.111 MB / 1.278 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01244/1.158, allocations: 4.512 MB / 1.282 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02179/1.18, allocations: 13.06 MB / 1.295 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.108e-06/1.18, allocations: 0 / 1.295 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.196e-06/1.18, allocations: 0 / 1.295 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0005279/1.18, allocations: 0 / 1.295 GB, free: 0.9531 MB / 1.014 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.02633/1.207, allocations: 8.282 MB / 1.303 GB, free: 8.582 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/1.207, allocations: 8.922 kB / 1.303 GB, free: 8.574 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005734/1.213, allocations: 0.8547 MB / 1.304 GB, free: 7.711 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02033/1.233, allocations: 7.849 MB / 1.311 GB, free: 15.77 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000537/1.234, allocations: 415.8 kB / 1.312 GB, free: 15.36 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002325/1.236, allocations: 0.5154 MB / 1.312 GB, free: 14.85 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02222/1.258, allocations: 7.675 MB / 1.32 GB, free: 6.883 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000317/1.259, allocations: 23.77 kB / 1.32 GB, free: 6.859 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001889/1.26, allocations: 228 kB / 1.32 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002261/1.261, allocations: 171.9 kB / 1.32 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/1.275, allocations: 6.067 MB / 1.326 GB, free: 396 kB / 1.045 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.05492/1.33, allocations: 29.34 MB / 1.355 GB, free: 1.773 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006366/1.337, allocations: 3.403 MB / 1.358 GB, free: 14.39 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003436/1.34, allocations: 1.96 MB / 1.36 GB, free: 12.42 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/1.341, allocations: 0.9864 MB / 1.361 GB, free: 11.23 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/1.342, allocations: 85 kB / 1.361 GB, free: 11.14 MB / 1.092 GB Notification: Performance of pre-optimization done (n=253): time 7.765e-06/1.342, allocations: 0 / 1.361 GB, free: 11.14 MB / 1.092 GB Notification: Performance of matching and sorting (n=253): time 0.01054/1.352, allocations: 4.687 MB / 1.366 GB, free: 6.445 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/1.352, allocations: 77.41 kB / 1.366 GB, free: 6.359 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01532/1.368, allocations: 6.435 MB / 1.372 GB, free: 15.91 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0008943/1.368, allocations: 89.7 kB / 1.372 GB, free: 15.81 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003985/1.372, allocations: 2.972 MB / 1.375 GB, free: 12.82 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.002181/1.375, allocations: 0.9013 MB / 1.376 GB, free: 11.91 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/1.377, allocations: 0.6829 MB / 1.376 GB, free: 11.21 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.377, allocations: 301.1 kB / 1.377 GB, free: 10.92 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00319/1.381, allocations: 1.645 MB / 1.378 GB, free: 9.266 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004134/1.385, allocations: 2.682 MB / 1.381 GB, free: 6.137 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007386/1.392, allocations: 4.59 MB / 1.385 GB, free: 1.082 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.902e-05/1.392, allocations: 16 kB / 1.385 GB, free: 1.066 MB / 1.107 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01064/1.403, allocations: 4.962 MB / 1.39 GB, free: 12.05 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/1.403, allocations: 23.94 kB / 1.39 GB, free: 12.03 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.047e-05/1.403, allocations: 32.88 kB / 1.39 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.071e-05/1.403, allocations: 48 kB / 1.39 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/1.406, allocations: 0.8113 MB / 1.391 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/1.407, allocations: 1.254 MB / 1.392 GB, free: 9.836 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006158/1.414, allocations: 0.5108 MB / 1.393 GB, free: 9.32 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000743/1.414, allocations: 160 kB / 1.393 GB, free: 9.164 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00894/1.423, allocations: 3.898 MB / 1.397 GB, free: 5.258 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00465/1.428, allocations: 2.678 MB / 1.4 GB, free: 2.129 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007789/1.436, allocations: 4.583 MB / 1.404 GB, free: 13.08 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.067e-05/1.436, allocations: 8 kB / 1.404 GB, free: 13.07 MB / 1.139 GB Notification: Performance of matching and sorting (n=436) (initialization_lambda0): time 0.01183/1.448, allocations: 4.955 MB / 1.409 GB, free: 8.066 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/1.448, allocations: 18.34 kB / 1.409 GB, free: 8.051 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.392e-05/1.448, allocations: 35.94 kB / 1.409 GB, free: 8.016 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.665e-05/1.448, allocations: 52 kB / 1.409 GB, free: 7.965 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/1.451, allocations: 0.7842 MB / 1.41 GB, free: 7.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001146/1.451, allocations: 79.66 kB / 1.41 GB, free: 7.102 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006191/1.457, allocations: 381.2 kB / 1.41 GB, free: 6.727 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005894/1.458, allocations: 160 kB / 1.41 GB, free: 6.57 MB / 1.139 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.001441/1.46, allocations: 411.1 kB / 1.411 GB, free: 6.16 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0029/1.462, allocations: 0.5636 MB / 1.411 GB, free: 5.59 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0089/1.471, allocations: 3.891 MB / 1.415 GB, free: 1.641 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005192/1.477, allocations: 2.994 MB / 1.418 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/1.477, allocations: 3.938 kB / 1.418 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004872/1.481, allocations: 1.243 MB / 1.419 GB, free: 13.32 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002544/1.484, allocations: 59.98 kB / 1.419 GB, free: 13.26 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005648/1.49, allocations: 207.7 kB / 1.419 GB, free: 13.06 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004689/1.49, allocations: 153.8 kB / 1.42 GB, free: 12.91 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00862/1.499, allocations: 3.816 MB / 1.423 GB, free: 9.035 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01089/1.51, allocations: 6.229 MB / 1.429 GB, free: 2.715 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00255/1.512, allocations: 1.668 MB / 1.431 GB, free: 1.031 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01088/1.523, allocations: 4.566 MB / 1.435 GB, free: 12.46 MB / 1.17 GB Notification: Performance of Backend: time 2.134e-06/1.523, allocations: 4 kB / 1.435 GB, free: 12.46 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01816/1.542, allocations: 5.259 MB / 1.441 GB, free: 7.207 MB / 1.17 GB Notification: Performance of SimCode: time 0.04473/1.586, allocations: 16.33 MB / 1.457 GB, free: 6.938 MB / 1.186 GB Notification: Performance of Templates: time 1.245/2.832, allocations: 144 MB / 1.597 GB, free: 344.8 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches