Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 106.2 kB / 15.99 MB, free: 6.352 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.001956/0.001956, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.624/2.624, allocations: 437.1 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 68.14 kB / 0.8694 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3667, allocations: 151.6 MB / 1.017 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8466/1.213, allocations: 159.3 MB / 1.173 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003414/1.217, allocations: 1.694 MB / 1.175 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004663/1.217, allocations: 16.75 kB / 1.175 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006636/1.218, allocations: 133.9 kB / 1.175 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/1.22, allocations: 0.4891 MB / 1.175 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/1.221, allocations: 372.8 kB / 1.176 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001003/1.222, allocations: 0.5741 MB / 1.176 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/1.223, allocations: 174 kB / 1.176 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007476/1.223, allocations: 317.3 kB / 1.177 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/1.224, allocations: 161.6 kB / 1.177 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/1.224, allocations: 13.25 kB / 1.177 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/1.225, allocations: 0.7125 MB / 1.178 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/1.225, allocations: 80.64 kB / 1.178 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/1.225, allocations: 111.7 kB / 1.178 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006765/1.226, allocations: 355.2 kB / 1.178 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.226, allocations: 3.938 kB / 1.178 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.084e-06/1.226, allocations: 4 kB / 1.178 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.226, allocations: 1.188 kB / 1.178 GB, free: 11.39 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009993/1.227, allocations: 0.5793 MB / 1.179 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.227, allocations: 11.05 kB / 1.179 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/1.228, allocations: 59.92 kB / 1.179 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/1.228, allocations: 291.8 kB / 1.179 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/1.228, allocations: 9.625 kB / 1.179 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/1.228, allocations: 18.62 kB / 1.179 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/1.229, allocations: 195.1 kB / 1.179 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.229, allocations: 1.188 kB / 1.179 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/1.229, allocations: 5.188 kB / 1.179 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/1.229, allocations: 3.688 kB / 1.179 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/1.229, allocations: 130.8 kB / 1.179 GB, free: 10.34 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.001235/1.23, allocations: 0.7861 MB / 1.18 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/1.23, allocations: 81.47 kB / 1.18 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/1.231, allocations: 75.83 kB / 1.18 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/1.231, allocations: 192.7 kB / 1.18 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/1.231, allocations: 35.59 kB / 1.181 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/1.231, allocations: 1.219 kB / 1.181 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10): time 0.0007256/1.232, allocations: 226.7 kB / 1.181 GB, free: 9.152 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/1.232, allocations: 56.78 kB / 1.181 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/1.232, allocations: 265.8 kB / 1.181 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/1.232, allocations: 31.08 kB / 1.181 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/1.232, allocations: 148.2 kB / 1.181 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/1.232, allocations: 31.67 kB / 1.181 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/1.232, allocations: 26.09 kB / 1.181 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001706/1.233, allocations: 336.3 kB / 1.182 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/1.233, allocations: 50.81 kB / 1.182 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/1.233, allocations: 92.11 kB / 1.182 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/1.233, allocations: 123.5 kB / 1.182 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.233, allocations: 0 / 1.182 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003542/1.234, allocations: 158 kB / 1.182 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.234, allocations: 5.5 kB / 1.182 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/1.234, allocations: 0 / 1.182 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.234, allocations: 6.688 kB / 1.182 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/1.234, allocations: 20.48 kB / 1.182 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/1.234, allocations: 5.359 kB / 1.182 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/1.234, allocations: 25.55 kB / 1.182 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/1.234, allocations: 9.438 kB / 1.182 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002112/1.234, allocations: 145.1 kB / 1.182 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001809/1.234, allocations: 95.22 kB / 1.182 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002492/1.235, allocations: 117.6 kB / 1.182 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/1.235, allocations: 0 / 1.182 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003344/1.235, allocations: 160.9 kB / 1.183 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/1.235, allocations: 4.906 kB / 1.183 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/1.235, allocations: 6.062 kB / 1.183 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-06/1.235, allocations: 1.094 kB / 1.183 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/1.235, allocations: 24.73 kB / 1.183 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/1.235, allocations: 5.344 kB / 1.183 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/1.235, allocations: 22.11 kB / 1.183 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/1.235, allocations: 11.11 kB / 1.183 GB, free: 7.648 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001473/1.236, allocations: 191.6 kB / 1.183 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/1.236, allocations: 26.59 kB / 1.183 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/1.236, allocations: 156.6 kB / 1.183 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.236, allocations: 5.281 kB / 1.183 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.236, allocations: 1.281 kB / 1.183 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.236, allocations: 0 / 1.183 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009891/1.237, allocations: 0.5852 MB / 1.184 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.237, allocations: 2.562 kB / 1.184 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/1.237, allocations: 33.12 kB / 1.184 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/1.237, allocations: 3.25 kB / 1.184 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/1.237, allocations: 6.75 kB / 1.184 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.237, allocations: 2.406 kB / 1.184 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.237, allocations: 2.375 kB / 1.184 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/1.238, allocations: 290.8 kB / 1.184 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/1.238, allocations: 117.7 kB / 1.184 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/1.238, allocations: 7.875 kB / 1.184 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/1.238, allocations: 15.7 kB / 1.184 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/1.238, allocations: 17.11 kB / 1.184 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/1.238, allocations: 8.906 kB / 1.184 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002336/1.238, allocations: 190.3 kB / 1.184 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/1.238, allocations: 0 / 1.184 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00051/1.239, allocations: 101.8 kB / 1.184 GB, free: 6.246 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 (10): * Single equations (assignments): 10 * 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.0004717/1.239, allocations: 182.5 kB / 1.184 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004893/1.24, allocations: 162.2 kB / 1.185 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.24, allocations: 1.344 kB / 1.185 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/1.24, allocations: 58.19 kB / 1.185 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007182/1.241, allocations: 121.4 kB / 1.185 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008525/1.242, allocations: 0.5289 MB / 1.185 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/1.242, allocations: 0.7576 MB / 1.186 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/1.242, allocations: 20.97 kB / 1.186 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of SimCode: time 2.51e-07/1.242, allocations: 0 / 1.186 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of Templates: time 0.006823/1.249, allocations: 3.699 MB / 1.19 GB, free: 2.879 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches