Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 108 kB / 15.6 MB, free: 132 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.00153/0.00153, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.776/2.776, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.89 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7688, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.187/0.9559, allocations: 161.3 MB / 1.175 GB, free: 0.582 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.9584, allocations: 0.9663 MB / 1.176 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.9588, allocations: 11.94 kB / 1.176 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.9595, allocations: 151 kB / 1.176 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.9613, allocations: 0.6379 MB / 1.177 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006617/0.962, allocations: 217.5 kB / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006258/0.9626, allocations: 0.5187 MB / 1.177 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.9629, allocations: 168.2 kB / 1.177 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.9634, allocations: 235 kB / 1.178 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.9636, allocations: 159.3 kB / 1.178 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.9636, allocations: 12 kB / 1.178 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009037/0.9645, allocations: 0.5455 MB / 1.178 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.9647, allocations: 79.78 kB / 1.178 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.9648, allocations: 115.4 kB / 1.179 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008487/0.9657, allocations: 490.6 kB / 1.179 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.9657, allocations: 0 / 1.179 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9657, allocations: 4 kB / 1.179 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.9657, allocations: 0 / 1.179 GB, free: 12.3 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00144/0.9672, allocations: 0.5937 MB / 1.18 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.9672, allocations: 12.03 kB / 1.18 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.9675, allocations: 51.62 kB / 1.18 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.9678, allocations: 274.3 kB / 1.18 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.9679, allocations: 16.33 kB / 1.18 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.9679, allocations: 16 kB / 1.18 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.9684, allocations: 247.1 kB / 1.18 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.9684, allocations: 4 kB / 1.18 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.9685, allocations: 4 kB / 1.18 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.9685, allocations: 11.98 kB / 1.18 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006484/0.9692, allocations: 255.4 kB / 1.18 GB, free: 10.74 MB / 0.9356 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.001327/0.9705, allocations: 0.8472 MB / 1.181 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.9708, allocations: 134.5 kB / 1.181 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.971, allocations: 112.9 kB / 1.181 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.9713, allocations: 190.1 kB / 1.182 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.9714, allocations: 38.56 kB / 1.182 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.9714, allocations: 0 / 1.182 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0008675/0.9723, allocations: 297.3 kB / 1.182 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.9723, allocations: 55.41 kB / 1.182 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.9726, allocations: 241 kB / 1.182 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.9726, allocations: 33.7 kB / 1.182 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.9727, allocations: 132.2 kB / 1.182 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.9728, allocations: 51.3 kB / 1.182 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.9728, allocations: 33.7 kB / 1.183 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.973, allocations: 326.8 kB / 1.183 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.9732, allocations: 71.94 kB / 1.183 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.9734, allocations: 108.7 kB / 1.183 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.9738, allocations: 162.5 kB / 1.183 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.9738, allocations: 4 kB / 1.183 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004521/0.9742, allocations: 223 kB / 1.183 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.9743, allocations: 7.938 kB / 1.183 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.9743, allocations: 0 / 1.183 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.9743, allocations: 4 kB / 1.183 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.9745, allocations: 27.92 kB / 1.183 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.9745, allocations: 4 kB / 1.183 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.9747, allocations: 23.83 kB / 1.183 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.9747, allocations: 7.984 kB / 1.183 GB, free: 7.445 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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.0001302/0.9749, allocations: 141.9 kB / 1.184 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.9749, allocations: 27.59 kB / 1.184 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.666e-05/0.975, allocations: 33.83 kB / 1.184 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.975, allocations: 3.938 kB / 1.184 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.975, allocations: 3.938 kB / 1.184 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.975, allocations: 4 kB / 1.184 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009599/0.976, allocations: 0.6718 MB / 1.184 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.976, allocations: 4 kB / 1.184 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.9762, allocations: 27.97 kB / 1.184 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.9762, allocations: 12.16 kB / 1.184 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.9762, allocations: 8.047 kB / 1.184 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.9762, allocations: 0 / 1.184 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.9762, allocations: 12.06 kB / 1.184 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004667/0.9767, allocations: 361 kB / 1.185 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.9768, allocations: 120.8 kB / 1.185 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.9768, allocations: 4 kB / 1.185 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.977, allocations: 8 kB / 1.185 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.9771, allocations: 15.92 kB / 1.185 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.9771, allocations: 15.98 kB / 1.185 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001632/0.9772, allocations: 172.5 kB / 1.185 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9773, allocations: 0 / 1.185 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003437/0.9776, allocations: 63.92 kB / 1.185 GB, free: 5.609 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.0003431/0.9779, allocations: 147.8 kB / 1.185 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.9784, allocations: 183.8 kB / 1.185 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9784, allocations: 0 / 1.185 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.9786, allocations: 91.88 kB / 1.185 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.9794, allocations: 121.7 kB / 1.186 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.9801, allocations: 461.5 kB / 1.186 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.9805, allocations: 0.7519 MB / 1.187 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.9807, allocations: 61.89 kB / 1.187 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.9807, allocations: 35.36 kB / 1.187 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.9807, allocations: 0 / 1.187 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of Templates: time 0.008252/0.989, allocations: 4.428 MB / 1.191 GB, free: 15.36 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches