Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.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.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous") translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.483/1.483, allocations: 249.5 MB / 257 MB, free: 6.949 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.0009659/0.0009658, allocations: 172.4 kB / 316.3 MB, free: 3.227 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.727/1.727, allocations: 205.3 MB / 0.5671 GB, free: 15.77 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.001091/0.001091, allocations: 98.45 kB / 0.6714 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.453e-05/1.418e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2299, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.543/1.773, allocations: 435.3 MB / 1.31 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/1.773, allocations: 94.56 kB / 1.31 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.551/10.32, allocations: 2.246 GB / 3.556 GB, free: 64.68 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.134e-06/10.32, allocations: 0 / 3.556 GB, free: 64.68 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0007705/10.32, allocations: 104.7 kB / 3.556 GB, free: 64.67 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01482/10.34, allocations: 3.846 MB / 3.56 GB, free: 61.99 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/10.34, allocations: 7.781 kB / 3.56 GB, free: 61.99 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009702/10.35, allocations: 1.177 MB / 3.561 GB, free: 61.45 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06715/10.42, allocations: 30.23 MB / 3.591 GB, free: 37.46 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/10.42, allocations: 64 kB / 3.591 GB, free: 37.39 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006996/10.42, allocations: 136 kB / 3.591 GB, free: 37.26 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003446/10.42, allocations: 2.124 MB / 3.593 GB, free: 35.14 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/10.42, allocations: 2.363 MB / 3.595 GB, free: 32.68 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/10.42, allocations: 7.938 kB / 3.595 GB, free: 32.67 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/10.42, allocations: 0.6875 kB / 3.595 GB, free: 32.67 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/10.42, allocations: 48 kB / 3.596 GB, free: 32.62 MB / 0.9167 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.01893/10.44, allocations: 12.45 MB / 3.608 GB, free: 19.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/10.45, allocations: 2.086 MB / 3.61 GB, free: 17.66 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008609/10.45, allocations: 0.8896 MB / 3.611 GB, free: 16.77 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007155/10.45, allocations: 5.043 MB / 3.616 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/10.45, allocations: 39.34 kB / 3.616 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00166/10.46, allocations: 174.5 kB / 3.616 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=88): time 3.237e-06/10.46, allocations: 0 / 3.616 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=88): time 0.006324/10.46, allocations: 2.645 MB / 3.618 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/10.46, allocations: 64.19 kB / 3.618 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008837/10.47, allocations: 4.545 MB / 3.623 GB, free: 3.918 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006963/10.47, allocations: 29.7 kB / 3.623 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00158/10.47, allocations: 2.048 MB / 3.625 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004394/10.47, allocations: 295.6 kB / 3.625 GB, free: 1.52 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/10.47, allocations: 3.938 kB / 3.625 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001278/10.47, allocations: 381.9 kB / 3.625 GB, free: 1.137 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/10.48, allocations: 1.015 MB / 3.626 GB, free: 124 kB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/10.48, allocations: 1.988 MB / 3.628 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/10.48, allocations: 1.429 MB / 3.63 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/10.48, allocations: 8 kB / 3.63 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.008065/10.49, allocations: 3.484 MB / 3.633 GB, free: 8.707 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.007936/10.5, allocations: 12.95 MB / 3.646 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.624e-05/10.5, allocations: 35.94 kB / 3.646 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/10.5, allocations: 334.1 kB / 3.646 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/10.5, allocations: 0.5343 MB / 3.647 GB, free: 9.484 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007175/10.51, allocations: 6.015 MB / 3.653 GB, free: 3.273 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004978/10.51, allocations: 155.9 kB / 3.653 GB, free: 3.121 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008656/10.52, allocations: 207.9 kB / 3.653 GB, free: 2.918 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/10.52, allocations: 4.625 kB / 3.653 GB, free: 2.914 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008272/10.52, allocations: 2.598 MB / 3.655 GB, free: 312 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/10.52, allocations: 28 kB / 3.656 GB, free: 284 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8425/11.37, allocations: 330.6 kB / 3.656 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003561/11.37, allocations: 0.581 MB / 3.656 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/11.37, allocations: 2.561 MB / 3.659 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004479/11.38, allocations: 145.4 kB / 3.659 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006768/11.38, allocations: 200.7 kB / 3.659 GB, free: 105.8 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.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: 126 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000947/11.38, allocations: 195 kB / 3.659 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/11.38, allocations: 395.3 kB / 3.66 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007762/11.39, allocations: 2.45 MB / 3.662 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/11.39, allocations: 15.08 kB / 3.662 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/11.39, allocations: 1.828 kB / 3.662 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/11.39, allocations: 5.25 kB / 3.662 GB, free: 105.5 MB / 0.948 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.01613/11.4, allocations: 5.528 MB / 3.668 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/11.4, allocations: 2.281 kB / 3.668 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/11.41, allocations: 216.3 kB / 3.668 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009228/11.41, allocations: 363.4 kB / 3.668 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/11.41, allocations: 32.42 kB / 3.668 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/11.41, allocations: 4.986 MB / 3.673 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/11.41, allocations: 4.844 kB / 3.673 GB, free: 100.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007076/11.42, allocations: 2.421 MB / 3.675 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003099/11.42, allocations: 0.8884 MB / 3.676 GB, free: 99.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006229/11.42, allocations: 3.062 kB / 3.676 GB, free: 99.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/11.42, allocations: 150.5 kB / 3.676 GB, free: 99.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/11.42, allocations: 76.62 kB / 3.677 GB, free: 99.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/11.42, allocations: 74.8 kB / 3.677 GB, free: 99.87 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009001/11.43, allocations: 3.399 MB / 3.68 GB, free: 99.69 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/11.43, allocations: 0 / 3.68 GB, free: 99.69 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01071/11.44, allocations: 1.805 MB / 3.682 GB, free: 99.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 6 {1 4,1 4,1 4,1 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004804/11.45, allocations: 1.991 MB / 3.684 GB, free: 99.15 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009635/11.46, allocations: 3.831 MB / 3.687 GB, free: 99.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/11.46, allocations: 2.344 kB / 3.687 GB, free: 99.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/11.46, allocations: 0.7729 MB / 3.688 GB, free: 99.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01183/11.47, allocations: 1.928 MB / 3.69 GB, free: 99.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/11.49, allocations: 5.303 MB / 3.695 GB, free: 97.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/11.49, allocations: 2.601 MB / 3.698 GB, free: 96.95 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01125/11.5, allocations: 2.053 MB / 3.7 GB, free: 96.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/11.5, allocations: 224.9 kB / 3.7 GB, free: 96.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.335e-06/11.5, allocations: 0 / 3.7 GB, free: 96.9 MB / 0.948 GB Notification: Performance of Templates: time 0.1677/11.67, allocations: 93.91 MB / 3.792 GB, free: 92.03 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_MoverContinuous.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches