Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001354/0.001355, allocations: 109.4 kB / 16.42 MB, free: 6.461 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.001378/0.001378, allocations: 190.7 kB / 17.35 MB, free: 5.715 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: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.911/2.911, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 67.89 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9862/0.9877, allocations: 159.1 MB / 1.221 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.05939/1.047, allocations: 46.01 MB / 1.266 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01828/1.066, allocations: 11.52 MB / 1.277 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/1.068, allocations: 59.69 kB / 1.277 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002421/1.07, allocations: 0.7103 MB / 1.278 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007559/1.078, allocations: 2.329 MB / 1.28 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005139/1.083, allocations: 1.525 MB / 1.282 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02866/1.112, allocations: 22.78 MB / 1.304 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01231/1.124, allocations: 9.35 MB / 1.313 GB, free: 3.715 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01594/1.14, allocations: 7.526 MB / 1.32 GB, free: 12.22 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01199/1.152, allocations: 6.131 MB / 1.326 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003815/1.156, allocations: 0.832 MB / 1.327 GB, free: 5.234 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/1.167, allocations: 2.029 MB / 1.329 GB, free: 3.203 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.005233/1.172, allocations: 2.115 MB / 1.331 GB, free: 1.082 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01009/1.182, allocations: 4.501 MB / 1.336 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01685/1.199, allocations: 13.07 MB / 1.348 GB, free: 15.46 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.199, allocations: 0 / 1.348 GB, free: 15.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.657e-06/1.199, allocations: 0 / 1.348 GB, free: 15.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000435/1.2, allocations: 3.938 kB / 1.348 GB, free: 15.46 MB / 1.076 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.02272/1.222, allocations: 8.27 MB / 1.356 GB, free: 7.098 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.222, allocations: 8.625 kB / 1.356 GB, free: 7.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/1.228, allocations: 0.8586 MB / 1.357 GB, free: 6.223 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02077/1.248, allocations: 7.857 MB / 1.365 GB, free: 14.28 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005314/1.249, allocations: 419.8 kB / 1.365 GB, free: 13.86 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002276/1.251, allocations: 0.5154 MB / 1.366 GB, free: 13.35 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02081/1.272, allocations: 7.671 MB / 1.373 GB, free: 5.387 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000244/1.272, allocations: 23.78 kB / 1.373 GB, free: 5.363 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001572/1.274, allocations: 224 kB / 1.374 GB, free: 5.145 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/1.274, allocations: 167.9 kB / 1.374 GB, free: 4.98 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/1.288, allocations: 6.071 MB / 1.38 GB, free: 14.89 MB / 1.107 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.05311/1.341, allocations: 29.35 MB / 1.408 GB, free: 280 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005845/1.347, allocations: 3.411 MB / 1.412 GB, free: 12.88 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00318/1.35, allocations: 1.952 MB / 1.414 GB, free: 10.92 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/1.351, allocations: 0.9904 MB / 1.415 GB, free: 9.73 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.889e-05/1.352, allocations: 77.06 kB / 1.415 GB, free: 9.645 MB / 1.139 GB Notification: Performance of pre-optimization done (n=253): time 5.701e-06/1.352, allocations: 0 / 1.415 GB, free: 9.645 MB / 1.139 GB Notification: Performance of matching and sorting (n=253): time 0.009377/1.361, allocations: 4.691 MB / 1.419 GB, free: 4.945 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/1.361, allocations: 81.41 kB / 1.419 GB, free: 4.855 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/1.374, allocations: 6.435 MB / 1.426 GB, free: 14.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0008947/1.375, allocations: 81.7 kB / 1.426 GB, free: 14.32 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.003767/1.379, allocations: 2.976 MB / 1.429 GB, free: 11.32 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001772/1.381, allocations: 0.8974 MB / 1.429 GB, free: 10.41 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/1.383, allocations: 0.679 MB / 1.43 GB, free: 9.723 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.383, allocations: 305.1 kB / 1.43 GB, free: 9.422 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003042/1.386, allocations: 1.653 MB / 1.432 GB, free: 7.762 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/1.39, allocations: 2.682 MB / 1.435 GB, free: 4.633 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007151/1.397, allocations: 4.583 MB / 1.439 GB, free: 15.58 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.229e-05/1.397, allocations: 12 kB / 1.439 GB, free: 15.57 MB / 1.17 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01149/1.409, allocations: 4.963 MB / 1.444 GB, free: 10.56 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/1.409, allocations: 19.94 kB / 1.444 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.454e-05/1.409, allocations: 36.09 kB / 1.444 GB, free: 10.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.272e-05/1.409, allocations: 48 kB / 1.444 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/1.413, allocations: 0.8074 MB / 1.445 GB, free: 9.648 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009435/1.414, allocations: 1.258 MB / 1.446 GB, free: 8.344 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005321/1.419, allocations: 0.5109 MB / 1.447 GB, free: 7.828 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004904/1.419, allocations: 160 kB / 1.447 GB, free: 7.672 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007007/1.426, allocations: 3.902 MB / 1.45 GB, free: 3.762 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003862/1.43, allocations: 2.666 MB / 1.453 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00701/1.437, allocations: 4.586 MB / 1.458 GB, free: 11.6 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.842e-05/1.437, allocations: 12 kB / 1.458 GB, free: 11.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=436) (initialization_lambda0): time 0.01026/1.448, allocations: 4.95 MB / 1.462 GB, free: 6.582 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/1.448, allocations: 22.66 kB / 1.462 GB, free: 6.562 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.693e-05/1.448, allocations: 32 kB / 1.462 GB, free: 6.531 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.557e-05/1.448, allocations: 48 kB / 1.463 GB, free: 6.484 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/1.451, allocations: 0.7884 MB / 1.463 GB, free: 5.695 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001039/1.451, allocations: 67.78 kB / 1.463 GB, free: 5.629 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005649/1.456, allocations: 393.1 kB / 1.464 GB, free: 5.242 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005607/1.457, allocations: 156 kB / 1.464 GB, free: 5.09 MB / 1.186 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.001236/1.458, allocations: 415 kB / 1.464 GB, free: 4.676 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002592/1.461, allocations: 0.5597 MB / 1.465 GB, free: 4.109 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009463/1.47, allocations: 3.902 MB / 1.469 GB, free: 152 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005454/1.476, allocations: 2.994 MB / 1.472 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/1.476, allocations: 3.938 kB / 1.472 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004856/1.481, allocations: 1.24 MB / 1.473 GB, free: 11.83 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00208/1.483, allocations: 67.98 kB / 1.473 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004913/1.488, allocations: 207.7 kB / 1.473 GB, free: 11.56 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/1.488, allocations: 141.8 kB / 1.473 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008054/1.496, allocations: 3.831 MB / 1.477 GB, free: 7.531 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01132/1.508, allocations: 6.218 MB / 1.483 GB, free: 1.223 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002551/1.51, allocations: 1.672 MB / 1.485 GB, free: 15.54 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00973/1.52, allocations: 4.562 MB / 1.489 GB, free: 10.97 MB / 1.217 GB Notification: Performance of Backend: time 8.12e-07/1.52, allocations: 0 / 1.489 GB, free: 10.97 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0158/1.536, allocations: 5.277 MB / 1.494 GB, free: 5.703 MB / 1.217 GB Notification: Performance of SimCode: time 0.03896/1.575, allocations: 16.33 MB / 1.51 GB, free: 5.43 MB / 1.232 GB Notification: Performance of Templates: time 0.8598/2.435, allocations: 144 MB / 1.651 GB, free: 252.9 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches