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.001764/0.001764, allocations: 101.1 kB / 16.27 MB, free: 5.969 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.001907/0.001907, allocations: 191.9 kB / 17.2 MB, free: 5.594 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.447/1.447, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.711/2.711, allocations: 437.1 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001915, allocations: 58.78 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3048, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6937/0.9985, allocations: 161.3 MB / 1.176 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001952/1, allocations: 0.9688 MB / 1.176 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/1.001, allocations: 9.438 kB / 1.176 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005409/1.001, allocations: 157.5 kB / 1.177 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001438/1.003, allocations: 0.6369 MB / 1.177 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/1.003, allocations: 219.7 kB / 1.177 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006/1.004, allocations: 0.5173 MB / 1.178 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000325/1.004, allocations: 174.3 kB / 1.178 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004593/1.005, allocations: 229.1 kB / 1.178 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/1.005, allocations: 164.9 kB / 1.179 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/1.005, allocations: 15.66 kB / 1.179 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009243/1.006, allocations: 0.5387 MB / 1.179 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/1.006, allocations: 80.91 kB / 1.179 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/1.006, allocations: 122.4 kB / 1.179 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007263/1.007, allocations: 489.7 kB / 1.18 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.007, allocations: 0 / 1.18 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.092e-06/1.007, allocations: 0.9375 kB / 1.18 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.007, allocations: 0 / 1.18 GB, free: 9.91 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.001462/1.009, allocations: 0.5859 MB / 1.18 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/1.009, allocations: 10.64 kB / 1.18 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/1.009, allocations: 57.61 kB / 1.18 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/1.009, allocations: 281.2 kB / 1.181 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/1.009, allocations: 11.11 kB / 1.181 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/1.009, allocations: 19.86 kB / 1.181 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/1.01, allocations: 243.3 kB / 1.181 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/1.01, allocations: 1.062 kB / 1.181 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/1.01, allocations: 5.094 kB / 1.181 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/1.01, allocations: 8 kB / 1.181 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/1.01, allocations: 260.1 kB / 1.181 GB, free: 8.781 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.001347/1.012, allocations: 0.8299 MB / 1.182 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/1.012, allocations: 146.4 kB / 1.182 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/1.012, allocations: 113.2 kB / 1.182 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/1.013, allocations: 192.6 kB / 1.182 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/1.013, allocations: 31.44 kB / 1.182 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/1.013, allocations: 0.6562 kB / 1.182 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of matching and sorting (n=14): time 0.0008522/1.014, allocations: 302.6 kB / 1.183 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/1.014, allocations: 52.75 kB / 1.183 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/1.014, allocations: 244.6 kB / 1.183 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/1.014, allocations: 25.7 kB / 1.183 GB, free: 7.277 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/1.014, allocations: 139.2 kB / 1.183 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/1.014, allocations: 46.17 kB / 1.183 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/1.014, allocations: 34.08 kB / 1.183 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.014, allocations: 336.3 kB / 1.184 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/1.015, allocations: 66.31 kB / 1.184 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/1.015, allocations: 105.9 kB / 1.184 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/1.015, allocations: 169.1 kB / 1.184 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.015, allocations: 0 / 1.184 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004522/1.016, allocations: 213.8 kB / 1.184 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.016, allocations: 10.33 kB / 1.184 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.016, allocations: 7.922 kB / 1.184 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.016, allocations: 1.531 kB / 1.184 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/1.016, allocations: 34.8 kB / 1.184 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/1.016, allocations: 5.094 kB / 1.184 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/1.016, allocations: 23.67 kB / 1.184 GB, free: 6.391 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/1.016, allocations: 13.27 kB / 1.184 GB, free: 6.383 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.0001394/1.016, allocations: 141.4 kB / 1.184 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/1.016, allocations: 25.19 kB / 1.184 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.124e-05/1.016, allocations: 36.42 kB / 1.184 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/1.016, allocations: 1.469 kB / 1.184 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.016, allocations: 5.312 kB / 1.184 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.016, allocations: 0 / 1.184 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/1.018, allocations: 0.6746 MB / 1.185 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.018, allocations: 1.125 kB / 1.185 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/1.018, allocations: 31.3 kB / 1.185 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.018, allocations: 6.562 kB / 1.185 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/1.018, allocations: 6.641 kB / 1.185 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.018, allocations: 4.062 kB / 1.185 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.018, allocations: 1.938 kB / 1.185 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/1.018, allocations: 359.7 kB / 1.185 GB, free: 5.32 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/1.018, allocations: 109.8 kB / 1.186 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/1.018, allocations: 11.55 kB / 1.186 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/1.019, allocations: 5.062 kB / 1.186 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/1.019, allocations: 18.27 kB / 1.186 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/1.019, allocations: 5.375 kB / 1.186 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001727/1.019, allocations: 180.6 kB / 1.186 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.019, allocations: 0 / 1.186 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003598/1.019, allocations: 59.88 kB / 1.186 GB, free: 5.047 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.0003941/1.02, allocations: 163.6 kB / 1.186 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004689/1.02, allocations: 178.5 kB / 1.186 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.02, allocations: 0 / 1.186 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/1.02, allocations: 95.16 kB / 1.186 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/1.021, allocations: 132.3 kB / 1.186 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008358/1.022, allocations: 481.8 kB / 1.187 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/1.022, allocations: 0.7562 MB / 1.188 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/1.023, allocations: 24.95 kB / 1.188 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of SimCode: time 3.11e-07/1.023, allocations: 0 / 1.188 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of Templates: time 0.006071/1.029, allocations: 3.703 MB / 1.191 GB, free: 1.719 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=400 -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) "" Variables in the reference:time,res.dp,res.sta_a.T,res.sta_b.T Variables in the result:res.dp,res.sta_a.T,res.sta_b.T,time