Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001373/0.001373, allocations: 100.1 kB / 15.88 MB, free: 12 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.001591/0.001591, allocations: 200.1 kB / 16.79 MB, free: 6.828 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.471/1.471, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 73.33 kB / 0.899 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3329, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1812/0.5142, allocations: 159.3 MB / 1.208 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.5175, allocations: 1.718 MB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005247/0.5181, allocations: 11.94 kB / 1.21 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006915/0.5188, allocations: 135.2 kB / 1.21 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.5204, allocations: 490 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.5216, allocations: 373.2 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.5227, allocations: 0.7604 MB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.523, allocations: 152.5 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006212/0.5236, allocations: 294.8 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.5239, allocations: 163.3 kB / 1.212 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.5239, allocations: 11.98 kB / 1.212 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.5253, allocations: 0.7716 MB / 1.213 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.5254, allocations: 75.73 kB / 1.213 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.5255, allocations: 111.3 kB / 1.213 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004853/0.526, allocations: 351.3 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.526, allocations: 4 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5261, allocations: 0 / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.5261, allocations: 0 / 1.214 GB, free: 3.039 MB / 0.9669 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.0008603/0.5269, allocations: 0.5778 MB / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.527, allocations: 8.031 kB / 1.214 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.5273, allocations: 51.69 kB / 1.214 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.5277, allocations: 289.3 kB / 1.214 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.5277, allocations: 8 kB / 1.214 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.5277, allocations: 20 kB / 1.214 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.5281, allocations: 200.5 kB / 1.215 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5281, allocations: 3.938 kB / 1.215 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.5281, allocations: 7.984 kB / 1.215 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.5282, allocations: 4 kB / 1.215 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.5285, allocations: 123.9 kB / 1.215 GB, free: 1.656 MB / 0.9669 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.0009535/0.5294, allocations: 0.7924 MB / 1.216 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.5297, allocations: 82.53 kB / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.5298, allocations: 76.81 kB / 1.216 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/0.5302, allocations: 190.2 kB / 1.216 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.5302, allocations: 38.56 kB / 1.216 GB, free: 364 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.5302, allocations: 0 / 1.216 GB, free: 364 kB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0006516/0.5309, allocations: 217.2 kB / 1.216 GB, free: 140 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.531, allocations: 55.41 kB / 1.216 GB, free: 72 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.5312, allocations: 271 kB / 1.216 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.5313, allocations: 29.7 kB / 1.216 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.5314, allocations: 144 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.5314, allocations: 31.56 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.5315, allocations: 33.61 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5316, allocations: 330.8 kB / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.5317, allocations: 48.83 kB / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.5319, allocations: 93.05 kB / 1.217 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.5322, allocations: 131.3 kB / 1.217 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5322, allocations: 4.062 kB / 1.217 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003344/0.5325, allocations: 153.4 kB / 1.217 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.5325, allocations: 4 kB / 1.217 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5325, allocations: 4.562 kB / 1.217 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.5326, allocations: 3.938 kB / 1.217 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.5327, allocations: 19.98 kB / 1.217 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.5327, allocations: 8.031 kB / 1.217 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.5329, allocations: 19.83 kB / 1.217 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.5329, allocations: 11.94 kB / 1.217 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001825/0.5331, allocations: 152 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001487/0.5333, allocations: 93.11 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002215/0.5335, allocations: 119.3 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.5335, allocations: 0 / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003008/0.5338, allocations: 149.3 kB / 1.218 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/0.5338, allocations: 13.59 kB / 1.218 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-06/0.5339, allocations: 3.938 kB / 1.218 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-06/0.5339, allocations: 4 kB / 1.218 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.534, allocations: 28.14 kB / 1.218 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/0.534, allocations: 0 / 1.218 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.5341, allocations: 15.97 kB / 1.218 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.5342, allocations: 12 kB / 1.218 GB, free: 14.07 MB / 0.9825 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.0001024/0.5343, allocations: 180.3 kB / 1.218 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.5343, allocations: 27.7 kB / 1.218 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.5347, allocations: 171.2 kB / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5347, allocations: 0 / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5347, allocations: 0 / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5347, allocations: 0 / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008127/0.5355, allocations: 0.5975 MB / 1.219 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5356, allocations: 7.938 kB / 1.219 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.5357, allocations: 24.2 kB / 1.219 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5357, allocations: 4 kB / 1.219 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.5357, allocations: 0 / 1.219 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5357, allocations: 4 kB / 1.219 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5357, allocations: 0 / 1.219 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.5361, allocations: 305.3 kB / 1.219 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.5362, allocations: 104.9 kB / 1.219 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.5362, allocations: 4.094 kB / 1.219 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.5364, allocations: 31.89 kB / 1.219 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.5365, allocations: 11.92 kB / 1.219 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.5365, allocations: 8 kB / 1.219 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001906/0.5367, allocations: 197.9 kB / 1.22 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5367, allocations: 0 / 1.22 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004701/0.5372, allocations: 95.84 kB / 1.22 GB, free: 12.17 MB / 0.9825 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.0003789/0.5376, allocations: 171.9 kB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.538, allocations: 163.9 kB / 1.22 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.538, allocations: 4 kB / 1.22 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.5382, allocations: 56.47 kB / 1.22 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007795/0.539, allocations: 130.1 kB / 1.22 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.5397, allocations: 0.5239 MB / 1.221 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.54, allocations: 0.7521 MB / 1.221 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.54, allocations: 23.44 kB / 1.222 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.54, allocations: 3.938 kB / 1.222 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.005509/0.5455, allocations: 3.739 MB / 1.225 GB, free: 6.562 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches