Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.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.MoverParameter,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.MoverParameter") translateModel(Buildings.Fluid.Movers.Examples.MoverParameter,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.MoverParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 249.5 MB / 257 MB, free: 6.859 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.00107/0.00107, allocations: 180.8 kB / 316.3 MB, free: 3.238 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.569/1.569, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0009514/0.0009512, allocations: 95.05 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.463e-05/1.477e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.215, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.528/1.743, allocations: 434.6 MB / 1.31 GB, free: 310.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.744, allocations: 92.02 kB / 1.31 GB, free: 310.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.339/7.082, allocations: 1.379 GB / 2.689 GB, free: 96.1 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.886e-06/7.082, allocations: 0 / 2.689 GB, free: 96.1 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000836/7.083, allocations: 107.1 kB / 2.689 GB, free: 96.09 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 478 * Number of variables: 478 Notification: Performance of Generate backend data structure: time 0.01777/7.101, allocations: 3.799 MB / 2.693 GB, free: 94.39 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.389e-05/7.101, allocations: 7.594 kB / 2.693 GB, free: 94.39 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008261/7.109, allocations: 1.167 MB / 2.694 GB, free: 94.12 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06536/7.175, allocations: 30.21 MB / 2.724 GB, free: 92.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/7.175, allocations: 62.56 kB / 2.724 GB, free: 92.34 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008613/7.176, allocations: 134 kB / 2.724 GB, free: 92.34 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003792/7.18, allocations: 2.106 MB / 2.726 GB, free: 92.34 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/7.183, allocations: 2.322 MB / 2.728 GB, free: 92.02 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/7.183, allocations: 3.094 kB / 2.728 GB, free: 92.02 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/7.183, allocations: 7.641 kB / 2.728 GB, free: 92.02 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.762e-05/7.183, allocations: 46.38 kB / 2.728 GB, free: 92.02 MB / 0.9011 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.02202/7.205, allocations: 12.32 MB / 2.74 GB, free: 87.48 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/7.208, allocations: 1.847 MB / 2.742 GB, free: 87.45 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009354/7.209, allocations: 0.8447 MB / 2.743 GB, free: 87.44 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008955/7.218, allocations: 5.591 MB / 2.748 GB, free: 85.53 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/7.218, allocations: 44.06 kB / 2.748 GB, free: 85.49 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002515/7.221, allocations: 144.7 kB / 2.748 GB, free: 85.43 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=73): time 4.538e-06/7.221, allocations: 0 / 2.748 GB, free: 85.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=73): time 0.00603/7.227, allocations: 2.402 MB / 2.751 GB, free: 85.11 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/7.227, allocations: 67 kB / 2.751 GB, free: 85.05 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007425/7.234, allocations: 4.594 MB / 2.755 GB, free: 84.72 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000434/7.235, allocations: 28.92 kB / 2.755 GB, free: 84.69 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/7.236, allocations: 2.069 MB / 2.757 GB, free: 84.15 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/7.237, allocations: 247.3 kB / 2.758 GB, free: 83.99 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/7.237, allocations: 3.094 kB / 2.758 GB, free: 83.99 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001313/7.237, allocations: 388.2 kB / 2.758 GB, free: 83.68 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/7.238, allocations: 0.9745 MB / 2.759 GB, free: 83.67 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/7.24, allocations: 2.029 MB / 2.761 GB, free: 82.33 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003243/7.243, allocations: 1.401 MB / 2.762 GB, free: 82.31 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.849e-05/7.243, allocations: 10.25 kB / 2.762 GB, free: 82.31 MB / 0.9011 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008546/7.252, allocations: 3.525 MB / 2.766 GB, free: 82 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003713/7.255, allocations: 14.28 MB / 2.78 GB, free: 67.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-05/7.255, allocations: 29.41 kB / 2.78 GB, free: 67.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007931/7.256, allocations: 303.7 kB / 2.78 GB, free: 67.13 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/7.259, allocations: 0.5244 MB / 2.78 GB, free: 67.13 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/7.264, allocations: 5.968 MB / 2.786 GB, free: 62.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/7.268, allocations: 157.2 kB / 2.786 GB, free: 62.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004707/7.268, allocations: 206.8 kB / 2.787 GB, free: 62.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/7.268, allocations: 3.969 kB / 2.787 GB, free: 62.7 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006702/7.275, allocations: 2.73 MB / 2.789 GB, free: 62.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.762e-05/7.275, allocations: 29.72 kB / 2.789 GB, free: 62.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/7.276, allocations: 301.6 kB / 2.79 GB, free: 62.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/7.278, allocations: 0.5763 MB / 2.79 GB, free: 62.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/7.279, allocations: 2.514 MB / 2.793 GB, free: 60.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003822/7.283, allocations: 129.5 kB / 2.793 GB, free: 60.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003759/7.284, allocations: 207.8 kB / 2.793 GB, free: 60.5 MB / 0.9011 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 200 * 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 3,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008005/7.284, allocations: 200.9 kB / 2.793 GB, free: 60.36 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009927/7.285, allocations: 387 kB / 2.794 GB, free: 60.15 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005556/7.291, allocations: 2.306 MB / 2.796 GB, free: 59.95 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/7.291, allocations: 17.33 kB / 2.796 GB, free: 59.95 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/7.291, allocations: 3.469 kB / 2.796 GB, free: 59.95 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/7.291, allocations: 3.328 kB / 2.796 GB, free: 59.95 MB / 0.9011 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.01052/7.302, allocations: 5.263 MB / 2.801 GB, free: 59.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/7.302, allocations: 3.812 kB / 2.801 GB, free: 59.47 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008805/7.303, allocations: 183.1 kB / 2.801 GB, free: 59.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000654/7.303, allocations: 336.6 kB / 2.801 GB, free: 59.41 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.502e-05/7.303, allocations: 22.66 kB / 2.801 GB, free: 59.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002562/7.306, allocations: 4.95 MB / 2.806 GB, free: 55.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/7.306, allocations: 0 / 2.806 GB, free: 55.11 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004795/7.311, allocations: 2.208 MB / 2.808 GB, free: 54.47 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002158/7.313, allocations: 0.8788 MB / 2.809 GB, free: 54.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005327/7.313, allocations: 5.75 kB / 2.809 GB, free: 54.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/7.315, allocations: 122 kB / 2.809 GB, free: 54.13 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/7.315, allocations: 65.19 kB / 2.809 GB, free: 54.13 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/7.315, allocations: 73.62 kB / 2.81 GB, free: 54.13 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.005516/7.321, allocations: 3.429 MB / 2.813 GB, free: 53.95 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.61e-07/7.321, allocations: 0 / 2.813 GB, free: 53.95 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007596/7.328, allocations: 1.781 MB / 2.815 GB, free: 53.71 MB / 0.9011 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 (81): * Single equations (assignments): 63 * 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 3,1 4,1 4,1 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003485/7.332, allocations: 1.978 MB / 2.817 GB, free: 53.14 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007386/7.339, allocations: 3.724 MB / 2.82 GB, free: 52.95 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/7.339, allocations: 0 / 2.82 GB, free: 52.95 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/7.341, allocations: 0.7006 MB / 2.821 GB, free: 52.91 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01206/7.353, allocations: 1.909 MB / 2.823 GB, free: 52.89 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/7.364, allocations: 5.243 MB / 2.828 GB, free: 51.54 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002211/7.367, allocations: 2.581 MB / 2.83 GB, free: 50.77 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.009187/7.376, allocations: 2.056 MB / 2.832 GB, free: 50.59 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/7.376, allocations: 216.8 kB / 2.833 GB, free: 50.58 MB / 0.9011 GB Notification: Performance of SimCode: time 1.613e-06/7.376, allocations: 0 / 2.833 GB, free: 50.58 MB / 0.9011 GB Notification: Performance of Templates: time 0.1471/7.524, allocations: 92.13 MB / 2.923 GB, free: 8.738 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_MoverParameter.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.MoverParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches