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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001676/0.001676, allocations: 114.3 kB / 16.37 MB, free: 6.016 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.001921/0.001921, allocations: 195.4 kB / 17.3 MB, free: 5.613 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437.1 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 71.28 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3167, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.8298/1.147, allocations: 161.3 MB / 1.176 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002435/1.149, allocations: 0.9625 MB / 1.177 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/1.149, allocations: 8.438 kB / 1.177 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006281/1.15, allocations: 153.7 kB / 1.177 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/1.152, allocations: 0.6442 MB / 1.178 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/1.152, allocations: 222.2 kB / 1.178 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007279/1.153, allocations: 0.5202 MB / 1.179 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/1.154, allocations: 175.9 kB / 1.179 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005113/1.154, allocations: 231.4 kB / 1.179 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/1.154, allocations: 161.2 kB / 1.179 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/1.154, allocations: 14.56 kB / 1.179 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/1.156, allocations: 0.548 MB / 1.18 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/1.156, allocations: 76.3 kB / 1.18 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/1.156, allocations: 118 kB / 1.18 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007904/1.157, allocations: 493.3 kB / 1.181 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.157, allocations: 0 / 1.181 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/1.157, allocations: 0 / 1.181 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.325e-06/1.157, allocations: 0 / 1.181 GB, free: 9.539 MB / 0.8887 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.001475/1.158, allocations: 0.594 MB / 1.181 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.158, allocations: 10.61 kB / 1.181 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/1.158, allocations: 48.88 kB / 1.181 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/1.159, allocations: 292.5 kB / 1.181 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/1.159, allocations: 15.14 kB / 1.181 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/1.159, allocations: 23.42 kB / 1.181 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/1.16, allocations: 240.1 kB / 1.182 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.16, allocations: 0 / 1.182 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/1.16, allocations: 6.562 kB / 1.182 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/1.16, allocations: 7.312 kB / 1.182 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005815/1.16, allocations: 252.5 kB / 1.182 GB, free: 8.41 MB / 0.8887 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.001355/1.162, allocations: 0.8398 MB / 1.183 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/1.162, allocations: 147.2 kB / 1.183 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/1.162, allocations: 113.2 kB / 1.183 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/1.162, allocations: 184.2 kB / 1.183 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/1.163, allocations: 31.94 kB / 1.183 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/1.163, allocations: 0 / 1.183 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of matching and sorting (n=14): time 0.0008366/1.163, allocations: 301.7 kB / 1.184 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/1.163, allocations: 61.17 kB / 1.184 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/1.164, allocations: 235.7 kB / 1.184 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/1.164, allocations: 31.05 kB / 1.184 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/1.164, allocations: 135.5 kB / 1.184 GB, free: 6.766 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/1.164, allocations: 48.36 kB / 1.184 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/1.164, allocations: 39.52 kB / 1.184 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.164, allocations: 331.9 kB / 1.184 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/1.164, allocations: 74.34 kB / 1.184 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/1.165, allocations: 97.47 kB / 1.185 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/1.165, allocations: 176.1 kB / 1.185 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.165, allocations: 0 / 1.185 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004489/1.165, allocations: 214.3 kB / 1.185 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.165, allocations: 5.156 kB / 1.185 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.165, allocations: 5.406 kB / 1.185 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.165, allocations: 5.25 kB / 1.185 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/1.166, allocations: 29.97 kB / 1.185 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/1.166, allocations: 1.5 kB / 1.185 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/1.166, allocations: 24.48 kB / 1.185 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/1.166, allocations: 4.375 kB / 1.185 GB, free: 6.008 MB / 0.8887 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.0001342/1.166, allocations: 142.1 kB / 1.185 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/1.166, allocations: 26.31 kB / 1.185 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/1.166, allocations: 36.14 kB / 1.185 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.166, allocations: 1.938 kB / 1.185 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.166, allocations: 0 / 1.185 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/1.166, allocations: 5.078 kB / 1.185 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/1.167, allocations: 0.6746 MB / 1.186 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/1.167, allocations: 8.984 kB / 1.186 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/1.167, allocations: 34.14 kB / 1.186 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.167, allocations: 2.812 kB / 1.186 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/1.167, allocations: 7.406 kB / 1.186 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/1.167, allocations: 6.078 kB / 1.186 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.167, allocations: 3.031 kB / 1.186 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/1.168, allocations: 360 kB / 1.186 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/1.168, allocations: 115.2 kB / 1.186 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/1.168, allocations: 3.625 kB / 1.186 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/1.168, allocations: 12.86 kB / 1.186 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/1.168, allocations: 17.48 kB / 1.186 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/1.168, allocations: 9.906 kB / 1.186 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001723/1.169, allocations: 180.5 kB / 1.187 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/1.169, allocations: 0 / 1.187 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003794/1.169, allocations: 56.38 kB / 1.187 GB, free: 4.664 MB / 0.8887 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.0003992/1.169, allocations: 156.4 kB / 1.187 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004648/1.17, allocations: 179.4 kB / 1.187 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.17, allocations: 1.219 kB / 1.187 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002281/1.17, allocations: 102.4 kB / 1.187 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007207/1.171, allocations: 122.4 kB / 1.187 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/1.172, allocations: 438.5 kB / 1.188 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/1.172, allocations: 0.7538 MB / 1.188 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001853/1.172, allocations: 59.44 kB / 1.188 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/1.172, allocations: 24.53 kB / 1.188 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of SimCode: time 3.41e-07/1.172, allocations: 0 / 1.188 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of Templates: time 0.008665/1.181, allocations: 4.419 MB / 1.193 GB, free: 1.074 MB / 0.8887 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches