Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009434/0.0009434, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.51/2.51, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003798, allocations: 8 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.843/0.8434, allocations: 142.3 MB / 0.9535 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.2315/1.075, allocations: 198 MB / 1.147 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01686/1.092, allocations: 12.02 MB / 1.159 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/1.094, allocations: 47.62 kB / 1.159 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002802/1.096, allocations: 0.9373 MB / 1.16 GB, free: 12.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006215/1.103, allocations: 2.231 MB / 1.162 GB, free: 10.42 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003814/1.106, allocations: 1.425 MB / 1.163 GB, free: 9.016 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003811/1.11, allocations: 1.984 MB / 1.165 GB, free: 7.023 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/1.112, allocations: 0.8272 MB / 1.166 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0061/1.118, allocations: 2.446 MB / 1.168 GB, free: 3.734 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/1.119, allocations: 0.5872 MB / 1.169 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/1.119, allocations: 48 kB / 1.169 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/1.121, allocations: 0.7216 MB / 1.17 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004502/1.121, allocations: 378.9 kB / 1.17 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004198/1.122, allocations: 289 kB / 1.17 GB, free: 1.715 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/1.123, allocations: 1.145 MB / 1.171 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/1.123, allocations: 0 / 1.171 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/1.123, allocations: 0 / 1.171 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.279e-05/1.123, allocations: 0 / 1.171 GB, free: 0.5664 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00213/1.125, allocations: 1.409 MB / 1.173 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/1.125, allocations: 8.031 kB / 1.173 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006202/1.126, allocations: 202.2 kB / 1.173 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/1.127, allocations: 0.7928 MB / 1.174 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/1.128, allocations: 125.4 kB / 1.174 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/1.128, allocations: 87.94 kB / 1.174 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/1.129, allocations: 0.9415 MB / 1.175 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/1.129, allocations: 0 / 1.175 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/1.129, allocations: 36 kB / 1.175 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/1.129, allocations: 20 kB / 1.175 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008808/1.13, allocations: 0.515 MB / 1.175 GB, free: 12.22 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.004761/1.135, allocations: 4.916 MB / 1.18 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/1.135, allocations: 444.6 kB / 1.181 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/1.135, allocations: 15.98 kB / 1.181 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/1.136, allocations: 54.44 kB / 1.181 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/1.136, allocations: 0 / 1.181 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.00224/1.138, allocations: 0.8954 MB / 1.182 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/1.138, allocations: 401.5 kB / 1.182 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/1.139, allocations: 1.228 MB / 1.183 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/1.139, allocations: 41.7 kB / 1.183 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/1.14, allocations: 0.5302 MB / 1.184 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.14, allocations: 130.2 kB / 1.184 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/1.14, allocations: 4 kB / 1.184 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.14, allocations: 318 kB / 1.184 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/1.14, allocations: 99.94 kB / 1.184 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/1.141, allocations: 342.2 kB / 1.185 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/1.141, allocations: 143.8 kB / 1.185 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.141, allocations: 0 / 1.185 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001141/1.142, allocations: 0.5521 MB / 1.185 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007375/1.143, allocations: 1.351 MB / 1.187 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.143, allocations: 4 kB / 1.187 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/1.143, allocations: 121.5 kB / 1.187 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004938/1.144, allocations: 99.88 kB / 1.187 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/1.146, allocations: 2.316 MB / 1.189 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009267/1.146, allocations: 118.5 kB / 1.189 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/1.147, allocations: 20.09 kB / 1.189 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.147, allocations: 9.656 kB / 1.189 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007265/1.147, allocations: 361.4 kB / 1.19 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.147, allocations: 8.031 kB / 1.19 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/1.148, allocations: 73.61 kB / 1.19 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/1.148, allocations: 63.91 kB / 1.19 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/1.15, allocations: 3.039 MB / 1.193 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008063/1.151, allocations: 119.1 kB / 1.193 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/1.151, allocations: 20 kB / 1.193 GB, free: 9.184 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000504/1.152, allocations: 354.8 kB / 1.193 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/1.152, allocations: 134.4 kB / 1.193 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008108/1.153, allocations: 452.5 kB / 1.194 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/1.153, allocations: 8 kB / 1.194 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.153, allocations: 4 kB / 1.194 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.153, allocations: 7.984 kB / 1.194 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003346/1.156, allocations: 2.561 MB / 1.196 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.156, allocations: 4.328 kB / 1.196 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/1.157, allocations: 80.47 kB / 1.196 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001939/1.157, allocations: 81.64 kB / 1.196 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/1.157, allocations: 12 kB / 1.196 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/1.158, allocations: 2.308 MB / 1.199 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/1.158, allocations: 7.938 kB / 1.199 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/1.159, allocations: 1.096 MB / 1.2 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/1.16, allocations: 251.4 kB / 1.2 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/1.16, allocations: 19.94 kB / 1.2 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/1.161, allocations: 71.78 kB / 1.2 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/1.161, allocations: 31.86 kB / 1.2 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/1.161, allocations: 23.98 kB / 1.2 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001047/1.162, allocations: 0.8488 MB / 1.201 GB, free: 328 kB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/1.162, allocations: 0 / 1.201 GB, free: 328 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001306/1.163, allocations: 443.6 kB / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005718/1.164, allocations: 234.5 kB / 1.202 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001805/1.166, allocations: 0.7434 MB / 1.202 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.166, allocations: 0 / 1.202 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004688/1.166, allocations: 201.5 kB / 1.202 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/1.17, allocations: 0.7411 MB / 1.203 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/1.172, allocations: 2.077 MB / 1.205 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/1.173, allocations: 1.158 MB / 1.206 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009726/1.174, allocations: 286.6 kB / 1.207 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/1.174, allocations: 83.44 kB / 1.207 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of SimCode: time 3.9e-07/1.174, allocations: 0 / 1.207 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.04097/1.215, allocations: 22.67 MB / 1.229 GB, free: 3.91 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches