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.001281/0.001281, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.009032/0.009032, allocations: 171 kB / 16.27 MB, free: 6.324 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.855/2.855, allocations: 462.6 MB / 0.7363 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 15.81 kB / 0.9027 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1723/0.5084, allocations: 157.2 MB / 1.212 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003243/0.5117, allocations: 1.699 MB / 1.214 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.5122, allocations: 7.938 kB / 1.214 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007014/0.5129, allocations: 131.2 kB / 1.214 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.5146, allocations: 490 kB / 1.214 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.516, allocations: 383.5 kB / 1.215 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.5173, allocations: 0.7565 MB / 1.215 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.5178, allocations: 148.5 kB / 1.216 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009961/0.5188, allocations: 290.8 kB / 1.216 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.5192, allocations: 163.3 kB / 1.216 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.5192, allocations: 8 kB / 1.216 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.5209, allocations: 0.7716 MB / 1.217 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.5211, allocations: 75.72 kB / 1.217 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.5213, allocations: 137 kB / 1.217 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.5225, allocations: 0.5102 MB / 1.218 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5225, allocations: 0 / 1.218 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5225, allocations: 0 / 1.218 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.5225, allocations: 0 / 1.218 GB, free: 1.637 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.001051/0.5236, allocations: 0.545 MB / 1.218 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.5236, allocations: 8.031 kB / 1.218 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.5241, allocations: 55.67 kB / 1.218 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.5245, allocations: 285.3 kB / 1.218 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.5245, allocations: 8 kB / 1.218 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.5246, allocations: 16 kB / 1.218 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.525, allocations: 208.6 kB / 1.219 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.525, allocations: 0 / 1.219 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.5251, allocations: 4 kB / 1.219 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.5251, allocations: 4 kB / 1.219 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.5254, allocations: 139.9 kB / 1.219 GB, free: 280 kB / 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.001182/0.5266, allocations: 0.7888 MB / 1.22 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.5269, allocations: 90.47 kB / 1.22 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.5271, allocations: 88.86 kB / 1.22 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.5274, allocations: 182.2 kB / 1.22 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5275, allocations: 42.5 kB / 1.22 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.5275, allocations: 0 / 1.22 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006896/0.5282, allocations: 237.2 kB / 1.22 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.5282, allocations: 55.41 kB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.5285, allocations: 267 kB / 1.22 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.5285, allocations: 29.7 kB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.5286, allocations: 147.9 kB / 1.221 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.5287, allocations: 31.55 kB / 1.221 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.5287, allocations: 17.72 kB / 1.221 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5289, allocations: 334.8 kB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.529, allocations: 43.97 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.5292, allocations: 101 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.5295, allocations: 135.3 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5295, allocations: 0 / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003553/0.5298, allocations: 169.3 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/0.5299, allocations: 119.5 kB / 1.222 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5299, allocations: 0 / 1.222 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.53, allocations: 7.938 kB / 1.222 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.5301, allocations: 19.98 kB / 1.222 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.5301, allocations: 7.938 kB / 1.222 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.5303, allocations: 31.83 kB / 1.222 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.5303, allocations: 7.984 kB / 1.222 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/0.5304, allocations: 4 kB / 1.222 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002839/0.5306, allocations: 111.9 kB / 1.222 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.5307, allocations: 4 kB / 1.222 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-06/0.5307, allocations: 0 / 1.222 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.5308, allocations: 28.02 kB / 1.222 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.5308, allocations: 4.5 kB / 1.222 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.531, allocations: 31.84 kB / 1.222 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.531, allocations: 4 kB / 1.222 GB, free: 12.95 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.0001494/0.5312, allocations: 221.1 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.5312, allocations: 23.72 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/0.5316, allocations: 179.2 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5316, allocations: 0 / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.5317, allocations: 3.938 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5317, allocations: 0 / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008983/0.5326, allocations: 0.6096 MB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5326, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.5327, allocations: 27.92 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.5327, allocations: 4 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.5327, allocations: 48 / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5327, allocations: 4 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5327, allocations: 12.2 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.5331, allocations: 305 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.5333, allocations: 120.7 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.5333, allocations: 4.062 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.5335, allocations: 19.98 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.5336, allocations: 19.92 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.5336, allocations: 4 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001894/0.5338, allocations: 197.9 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5338, allocations: 0 / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004817/0.5343, allocations: 91.84 kB / 1.224 GB, free: 10.97 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.0003984/0.5347, allocations: 171.2 kB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004833/0.5352, allocations: 183.8 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5352, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.5353, allocations: 59.91 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/0.5363, allocations: 137.8 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.537, allocations: 0.5032 MB / 1.225 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.5373, allocations: 0.7599 MB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002209/0.5376, allocations: 62.23 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.5376, allocations: 23.44 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.5376, allocations: 4 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of Templates: time 0.008687/0.5463, allocations: 4.255 MB / 1.23 GB, free: 4.812 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches