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.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.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.0008152/0.0008152, allocations: 97.78 kB / 16.02 MB, free: 76 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.001159/0.001159, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.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.685/2.685, allocations: 437.8 MB / 0.7128 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000542/0.0005421, allocations: 8 kB / 0.8735 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7353, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.182/0.9174, allocations: 157.2 MB / 1.177 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00317/0.9206, allocations: 1.714 MB / 1.179 GB, free: 404 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.9209, allocations: 7.938 kB / 1.179 GB, free: 396 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.9214, allocations: 131.2 kB / 1.179 GB, free: 264 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.9228, allocations: 498.2 kB / 1.179 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.9239, allocations: 378.1 kB / 1.18 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009986/0.9249, allocations: 0.7527 MB / 1.181 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.9252, allocations: 148.5 kB / 1.181 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000657/0.9258, allocations: 294.7 kB / 1.181 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.9261, allocations: 155.3 kB / 1.181 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.9261, allocations: 8 kB / 1.181 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.9273, allocations: 0.7755 MB / 1.182 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.9274, allocations: 83.72 kB / 1.182 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.9276, allocations: 129.1 kB / 1.182 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004906/0.9281, allocations: 347 kB / 1.182 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9281, allocations: 0 / 1.182 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.406e-06/0.9281, allocations: 4 kB / 1.182 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.9281, allocations: 0 / 1.182 GB, free: 12.72 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008093/0.9289, allocations: 0.5373 MB / 1.183 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.929, allocations: 8.031 kB / 1.183 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.9293, allocations: 55.59 kB / 1.183 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.9297, allocations: 293.3 kB / 1.183 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.9297, allocations: 8 kB / 1.183 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.9297, allocations: 16 kB / 1.183 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.9301, allocations: 208 kB / 1.184 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.9301, allocations: 0 / 1.184 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.9302, allocations: 7.938 kB / 1.184 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.9302, allocations: 4 kB / 1.184 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.9305, allocations: 135.8 kB / 1.184 GB, free: 11.36 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.001029/0.9315, allocations: 0.7964 MB / 1.184 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.9318, allocations: 90.47 kB / 1.185 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.932, allocations: 80.88 kB / 1.185 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/0.9323, allocations: 186.2 kB / 1.185 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.9323, allocations: 34.56 kB / 1.185 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.9323, allocations: 0 / 1.185 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006689/0.933, allocations: 233.2 kB / 1.185 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.9331, allocations: 55.41 kB / 1.185 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.9333, allocations: 275 kB / 1.185 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.9334, allocations: 29.7 kB / 1.185 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.9335, allocations: 147.9 kB / 1.186 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.9335, allocations: 27.56 kB / 1.186 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.9336, allocations: 17.7 kB / 1.186 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.9337, allocations: 330.8 kB / 1.186 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.9339, allocations: 51.95 kB / 1.186 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.934, allocations: 97.05 kB / 1.186 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.9343, allocations: 135.3 kB / 1.186 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9343, allocations: 3.938 kB / 1.186 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003486/0.9347, allocations: 165.3 kB / 1.186 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.377e-05/0.9348, allocations: 121.5 kB / 1.186 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.9348, allocations: 0 / 1.186 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.9348, allocations: 0 / 1.186 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.935, allocations: 31.98 kB / 1.186 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.935, allocations: 7.938 kB / 1.186 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.9352, allocations: 24.45 kB / 1.187 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.9352, allocations: 8 kB / 1.187 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-06/0.9352, allocations: 4 kB / 1.187 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000299/0.9355, allocations: 119.8 kB / 1.187 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.9355, allocations: 0 / 1.187 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-06/0.9355, allocations: 4 kB / 1.187 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.9357, allocations: 27.92 kB / 1.187 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.9357, allocations: 3.938 kB / 1.187 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.9358, allocations: 27.95 kB / 1.187 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.9359, allocations: 7.938 kB / 1.187 GB, free: 8.031 MB / 0.9356 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.0001681/0.936, allocations: 213.1 kB / 1.187 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.9361, allocations: 23.72 kB / 1.187 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.9365, allocations: 175.3 kB / 1.187 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9365, allocations: 4.281 kB / 1.187 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.9365, allocations: 7.922 kB / 1.187 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9365, allocations: 3.984 kB / 1.187 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008985/0.9374, allocations: 0.6055 MB / 1.188 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.9374, allocations: 4 kB / 1.188 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.9376, allocations: 27.92 kB / 1.188 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.9376, allocations: 4 kB / 1.188 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.9376, allocations: 0 / 1.188 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.9376, allocations: 4 kB / 1.188 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9376, allocations: 3.984 kB / 1.188 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.938, allocations: 309.2 kB / 1.188 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-05/0.9381, allocations: 116.8 kB / 1.188 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.9382, allocations: 3.984 kB / 1.188 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.9384, allocations: 19.98 kB / 1.188 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.9384, allocations: 19.92 kB / 1.188 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.9385, allocations: 4 kB / 1.188 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001947/0.9387, allocations: 194 kB / 1.188 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9387, allocations: 0 / 1.188 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004803/0.9392, allocations: 95.83 kB / 1.188 GB, free: 6.066 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 (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.0004151/0.9396, allocations: 170.8 kB / 1.189 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.9401, allocations: 180.1 kB / 1.189 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9401, allocations: 0 / 1.189 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.9402, allocations: 72.48 kB / 1.189 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009047/0.9412, allocations: 121.1 kB / 1.189 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007912/0.942, allocations: 0.5438 MB / 1.19 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.9423, allocations: 0.7521 MB / 1.19 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.9424, allocations: 23.44 kB / 1.19 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.9424, allocations: 0 / 1.19 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of Templates: time 0.006053/0.9484, allocations: 3.725 MB / 1.194 GB, free: 452 kB / 0.9356 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=480 -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