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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00179/0.00179, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002082/0.002082, allocations: 190.6 kB / 16.25 MB, free: 6.645 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.5/1.5, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.041/3.041, allocations: 482.3 MB / 0.7543 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003422/0.003423, allocations: 70.86 kB / 0.9233 GB, free: 29.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.407, allocations: 162.2 MB / 1.082 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2159/0.623, allocations: 159.3 MB / 1.237 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003311/0.6263, allocations: 1.699 MB / 1.239 GB, free: 12 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.6267, allocations: 7.938 kB / 1.239 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006126/0.6274, allocations: 131.2 kB / 1.239 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.6288, allocations: 498.1 kB / 1.24 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.6299, allocations: 387.9 kB / 1.24 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008217/0.6308, allocations: 0.5614 MB / 1.241 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.6312, allocations: 176.5 kB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.6322, allocations: 466.3 kB / 1.241 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.6324, allocations: 151.3 kB / 1.241 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.6324, allocations: 16 kB / 1.241 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.6336, allocations: 0.7093 MB / 1.242 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.6337, allocations: 71.73 kB / 1.242 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.6339, allocations: 119.4 kB / 1.242 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008158/0.6347, allocations: 0.518 MB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.6347, allocations: 4 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6347, allocations: 3.938 kB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.6347, allocations: 0 / 1.243 GB, free: 8.211 MB / 0.9981 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.0009375/0.6357, allocations: 0.5838 MB / 1.243 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.6357, allocations: 8.031 kB / 1.243 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.6361, allocations: 59.59 kB / 1.243 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.6366, allocations: 285.3 kB / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.6366, allocations: 16 kB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.6366, allocations: 15.94 kB / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.6371, allocations: 192.7 kB / 1.244 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.6371, allocations: 0 / 1.244 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.6371, allocations: 8 kB / 1.244 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.6371, allocations: 3.984 kB / 1.244 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.6374, allocations: 131.8 kB / 1.244 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.6386, allocations: 0.7808 MB / 1.245 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.6389, allocations: 82.53 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.6391, allocations: 76.86 kB / 1.245 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003841/0.6395, allocations: 190.2 kB / 1.245 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.6396, allocations: 38.5 kB / 1.245 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.6396, allocations: 0 / 1.245 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0006904/0.6403, allocations: 221.2 kB / 1.245 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.6403, allocations: 55.41 kB / 1.245 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.6406, allocations: 267 kB / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.6407, allocations: 25.7 kB / 1.246 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.6408, allocations: 144 kB / 1.246 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.6409, allocations: 35.45 kB / 1.246 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.6409, allocations: 33.7 kB / 1.246 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.6411, allocations: 326.8 kB / 1.246 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.6412, allocations: 56.81 kB / 1.246 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.6414, allocations: 85.11 kB / 1.246 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.6417, allocations: 127.3 kB / 1.246 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6417, allocations: 0 / 1.246 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003677/0.6421, allocations: 161.2 kB / 1.247 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6421, allocations: 8.562 kB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6421, allocations: 0 / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6422, allocations: 3.938 kB / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.6423, allocations: 28 kB / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.6423, allocations: 7.938 kB / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.6425, allocations: 19.83 kB / 1.247 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.6425, allocations: 20 kB / 1.247 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002014/0.6428, allocations: 140.1 kB / 1.247 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001665/0.6429, allocations: 101 kB / 1.247 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002473/0.6432, allocations: 115.3 kB / 1.247 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.6432, allocations: 0 / 1.247 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003288/0.6435, allocations: 157.4 kB / 1.247 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-06/0.6435, allocations: 4 kB / 1.247 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.6435, allocations: 0 / 1.247 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.6436, allocations: 4 kB / 1.247 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.6437, allocations: 23.92 kB / 1.247 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/0.6437, allocations: 0 / 1.247 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.6439, allocations: 19.89 kB / 1.247 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.6439, allocations: 11.92 kB / 1.247 GB, free: 3.242 MB / 0.9981 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.0001257/0.644, allocations: 188.3 kB / 1.247 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.6441, allocations: 24 kB / 1.247 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.6445, allocations: 163.2 kB / 1.248 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6445, allocations: 3.984 kB / 1.248 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6445, allocations: 0 / 1.248 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.6445, allocations: 0 / 1.248 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.6455, allocations: 0.5937 MB / 1.248 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6455, allocations: 4.219 kB / 1.248 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.6457, allocations: 31.91 kB / 1.248 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.6457, allocations: 4 kB / 1.248 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.6457, allocations: 0 / 1.248 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6457, allocations: 4 kB / 1.248 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6457, allocations: 4 kB / 1.248 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.6462, allocations: 293.4 kB / 1.248 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.6463, allocations: 112.9 kB / 1.249 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.6463, allocations: 7.938 kB / 1.249 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.6465, allocations: 19.98 kB / 1.249 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.6466, allocations: 19.86 kB / 1.249 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.6466, allocations: 4 kB / 1.249 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002125/0.6468, allocations: 197.9 kB / 1.249 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6468, allocations: 3.938 kB / 1.249 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004782/0.6473, allocations: 95.84 kB / 1.249 GB, free: 1.344 MB / 0.9981 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.0004317/0.6478, allocations: 165.2 kB / 1.249 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004875/0.6483, allocations: 168.2 kB / 1.249 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6483, allocations: 0 / 1.249 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.6484, allocations: 68.55 kB / 1.249 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007809/0.6492, allocations: 116.7 kB / 1.249 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/0.6502, allocations: 0.5009 MB / 1.25 GB, free: 296 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5306/1.181, allocations: 0.7481 MB / 1.251 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003307/1.181, allocations: 66.64 kB / 1.251 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/1.181, allocations: 21.33 kB / 1.251 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/1.181, allocations: 0.6562 kB / 1.251 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.01178/1.193, allocations: 4.317 MB / 1.255 GB, free: 175 MB / 0.9981 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=400 -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