Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.604/1.604, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 176.9 kB / 316.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.3 MB / 0.5671 GB, free: 15.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009343/0.0009344, allocations: 92.38 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.426e-05/1.427e-05, allocations: 4 kB / 0.7814 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1961, allocations: 106.3 MB / 0.8852 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.513/1.709, allocations: 429.2 MB / 1.304 GB, free: 316.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/1.709, allocations: 88.53 kB / 1.304 GB, free: 316 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.36/4.07, allocations: 0.6622 GB / 1.967 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.844e-06/4.07, allocations: 4.781 kB / 1.967 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002522/4.07, allocations: 53.72 kB / 1.967 GB, free: 156.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005565/4.076, allocations: 1.94 MB / 1.969 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/4.076, allocations: 9.969 kB / 1.969 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/4.079, allocations: 0.5387 MB / 1.969 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03203/4.111, allocations: 13.69 MB / 1.983 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.492e-05/4.111, allocations: 33.12 kB / 1.983 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/4.112, allocations: 67.66 kB / 1.983 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001985/4.114, allocations: 0.8605 MB / 1.983 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/4.116, allocations: 1.104 MB / 1.985 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/4.116, allocations: 2.156 kB / 1.985 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.712e-05/4.116, allocations: 7.391 kB / 1.985 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/4.116, allocations: 27.22 kB / 1.985 GB, free: 155 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.008516/4.124, allocations: 5.444 MB / 1.99 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/4.126, allocations: 0.8531 MB / 1.991 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/4.126, allocations: 368.9 kB / 1.991 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003243/4.129, allocations: 2.193 MB / 1.993 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/4.129, allocations: 46.16 kB / 1.993 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007307/4.13, allocations: 101.8 kB / 1.993 GB, free: 151 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 4.057e-06/4.13, allocations: 0 / 1.993 GB, free: 151 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.003306/4.134, allocations: 1.128 MB / 1.994 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/4.134, allocations: 221.7 kB / 1.995 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/4.135, allocations: 1.183 MB / 1.996 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/4.135, allocations: 25.7 kB / 1.996 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/4.136, allocations: 0.8124 MB / 1.997 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/4.136, allocations: 209.2 kB / 1.997 GB, free: 150 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/4.136, allocations: 0 / 1.997 GB, free: 150 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.083e-05/4.136, allocations: 346 kB / 1.997 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/4.137, allocations: 351.5 kB / 1.998 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006363/4.137, allocations: 0.7309 MB / 1.998 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/4.139, allocations: 0.5431 MB / 1.999 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/4.139, allocations: 6.125 kB / 1.999 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003012/4.142, allocations: 1.368 MB / 2 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007465/4.143, allocations: 3.341 MB / 2.003 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/4.143, allocations: 11.16 kB / 2.003 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000737/4.144, allocations: 294 kB / 2.004 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/4.144, allocations: 197.3 kB / 2.004 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/4.146, allocations: 1.53 MB / 2.005 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/4.147, allocations: 67 kB / 2.005 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/4.147, allocations: 68.33 kB / 2.005 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/4.147, allocations: 3.469 kB / 2.005 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002784/4.15, allocations: 1.119 MB / 2.007 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/4.15, allocations: 14.41 kB / 2.007 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007417/4.151, allocations: 297 kB / 2.007 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/4.152, allocations: 184.9 kB / 2.007 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005342/4.157, allocations: 3.819 MB / 2.011 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/4.159, allocations: 63.05 kB / 2.011 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/4.159, allocations: 64.06 kB / 2.011 GB, free: 142.3 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 88 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004341/4.159, allocations: 149.6 kB / 2.011 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/4.159, allocations: 162.2 kB / 2.011 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/4.163, allocations: 1.324 MB / 2.012 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/4.163, allocations: 13.94 kB / 2.012 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/4.163, allocations: 7.312 kB / 2.012 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/4.163, allocations: 3.656 kB / 2.012 GB, free: 142 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.005205/4.168, allocations: 2.398 MB / 2.015 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/4.168, allocations: 0 / 2.015 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/4.169, allocations: 115.3 kB / 2.015 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004871/4.17, allocations: 194.9 kB / 2.015 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/4.17, allocations: 19.66 kB / 2.015 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009849/4.171, allocations: 1.377 MB / 2.016 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/4.171, allocations: 3.656 kB / 2.016 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/4.174, allocations: 1.673 MB / 2.018 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008415/4.175, allocations: 334.4 kB / 2.018 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/4.175, allocations: 10.7 kB / 2.018 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008449/4.176, allocations: 74.72 kB / 2.019 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/4.176, allocations: 46.05 kB / 2.019 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/4.176, allocations: 35.05 kB / 2.019 GB, free: 140 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001311/4.177, allocations: 0.8933 MB / 2.019 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.177, allocations: 2.656 kB / 2.019 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003763/4.181, allocations: 1.021 MB / 2.02 GB, free: 139.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002328/4.183, allocations: 1.31 MB / 2.022 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002974/4.186, allocations: 1.759 MB / 2.023 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/4.186, allocations: 0 / 2.023 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006595/4.187, allocations: 413.8 kB / 2.024 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/4.19, allocations: 0.6641 MB / 2.025 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/4.195, allocations: 2.139 MB / 2.027 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009525/4.196, allocations: 1.42 MB / 2.028 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002545/4.199, allocations: 0.5546 MB / 2.029 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/4.199, allocations: 99.88 kB / 2.029 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/4.199, allocations: 3.438 kB / 2.029 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.06804/4.267, allocations: 40.38 MB / 2.068 GB, free: 135.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches