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.423/1.423, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 174.4 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001562/0.001563, allocations: 95.75 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004678, allocations: 9.5 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2627, allocations: 106.3 MB / 0.9001 GB, free: 64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.289, allocations: 435.1 MB / 1.325 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/1.289, allocations: 102.2 kB / 1.325 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.084/9.373, allocations: 2.267 GB / 3.592 GB, free: 95.67 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.184e-06/9.373, allocations: 0 / 3.592 GB, free: 95.67 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.001044/9.374, allocations: 104 kB / 3.593 GB, free: 95.66 MB / 0.9323 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.02649/9.4, allocations: 7.619 MB / 3.6 GB, free: 93.42 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/9.4, allocations: 9.781 kB / 3.6 GB, free: 93.42 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008055/9.408, allocations: 1.158 MB / 3.601 GB, free: 93.15 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07627/9.485, allocations: 30.48 MB / 3.631 GB, free: 91.36 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/9.485, allocations: 178.6 kB / 3.631 GB, free: 91.36 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001565/9.487, allocations: 235.6 kB / 3.631 GB, free: 91.35 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009971/9.497, allocations: 2.745 MB / 3.634 GB, free: 91.03 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/9.497, allocations: 4.938 kB / 3.634 GB, free: 91.03 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007793/9.498, allocations: 83.45 kB / 3.634 GB, free: 91.03 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.636e-05/9.498, allocations: 51.53 kB / 3.634 GB, free: 91.03 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005705/9.504, allocations: 2.03 MB / 3.636 GB, free: 91.01 MB / 0.9323 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.02418/9.528, allocations: 12.85 MB / 3.649 GB, free: 86.38 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003972/9.532, allocations: 1.56 MB / 3.65 GB, free: 86.34 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009522/9.541, allocations: 5.107 MB / 3.655 GB, free: 84.45 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/9.541, allocations: 43.22 kB / 3.655 GB, free: 84.41 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002303/9.544, allocations: 229.4 kB / 3.655 GB, free: 84.32 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=88): time 5.029e-06/9.544, allocations: 0.8125 kB / 3.655 GB, free: 84.32 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88): time 0.01078/9.555, allocations: 3.335 MB / 3.659 GB, free: 83.61 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/9.555, allocations: 63.62 kB / 3.659 GB, free: 83.55 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009293/9.564, allocations: 4.998 MB / 3.664 GB, free: 83.22 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006675/9.565, allocations: 57.05 kB / 3.664 GB, free: 83.19 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001725/9.566, allocations: 2.069 MB / 3.666 GB, free: 82.71 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004919/9.567, allocations: 306 kB / 3.666 GB, free: 82.52 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/9.567, allocations: 35.86 kB / 3.666 GB, free: 82.52 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001262/9.567, allocations: 386.1 kB / 3.666 GB, free: 82.22 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/9.569, allocations: 0.8474 MB / 3.667 GB, free: 82.21 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/9.571, allocations: 1.846 MB / 3.669 GB, free: 80.97 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/9.573, allocations: 1.049 MB / 3.67 GB, free: 80.96 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/9.573, allocations: 7.062 kB / 3.67 GB, free: 80.96 MB / 0.9323 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.006456/9.58, allocations: 3.116 MB / 3.673 GB, free: 80.63 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002448/9.582, allocations: 13.1 MB / 3.686 GB, free: 66.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/9.582, allocations: 33.33 kB / 3.686 GB, free: 66.69 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/9.583, allocations: 393.9 kB / 3.686 GB, free: 66.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/9.586, allocations: 0.5288 MB / 3.687 GB, free: 66.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/9.59, allocations: 5.26 MB / 3.692 GB, free: 62.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005169/9.596, allocations: 194.8 kB / 3.692 GB, free: 62.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000774/9.596, allocations: 211.4 kB / 3.692 GB, free: 62.23 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/9.597, allocations: 3.594 kB / 3.692 GB, free: 62.23 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005588/9.602, allocations: 2.842 MB / 3.695 GB, free: 62.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/9.602, allocations: 28.25 kB / 3.695 GB, free: 62.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/9.603, allocations: 385.7 kB / 3.696 GB, free: 62.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/9.605, allocations: 0.5708 MB / 3.696 GB, free: 62.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/9.607, allocations: 2.576 MB / 3.699 GB, free: 60.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/9.611, allocations: 182 kB / 3.699 GB, free: 60 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004414/9.611, allocations: 200.1 kB / 3.699 GB, free: 60 MB / 0.9323 GB 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 () * Number of clocked 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.003332/9.614, allocations: 1.129 MB / 3.7 GB, free: 59.79 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/9.616, allocations: 418.6 kB / 3.7 GB, free: 59.55 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006868/9.623, allocations: 2.647 MB / 3.703 GB, free: 59.35 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/9.623, allocations: 18.89 kB / 3.703 GB, free: 59.34 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/9.623, allocations: 0 / 3.703 GB, free: 59.34 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/9.623, allocations: 2.859 kB / 3.703 GB, free: 59.34 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.0144/9.637, allocations: 5.956 MB / 3.709 GB, free: 58.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/9.637, allocations: 3.797 kB / 3.709 GB, free: 58.81 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/9.639, allocations: 219.6 kB / 3.709 GB, free: 58.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/9.64, allocations: 415.6 kB / 3.709 GB, free: 58.75 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/9.64, allocations: 40.97 kB / 3.71 GB, free: 58.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/9.643, allocations: 4.962 MB / 3.714 GB, free: 54.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/9.643, allocations: 3.062 kB / 3.714 GB, free: 54.45 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007096/9.65, allocations: 2.619 MB / 3.717 GB, free: 53.79 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003351/9.653, allocations: 0.9078 MB / 3.718 GB, free: 53.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/9.654, allocations: 25.64 kB / 3.718 GB, free: 53.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/9.656, allocations: 163.2 kB / 3.718 GB, free: 53.43 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/9.657, allocations: 82.31 kB / 3.718 GB, free: 53.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/9.657, allocations: 80.84 kB / 3.718 GB, free: 53.43 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.006678/9.663, allocations: 3.811 MB / 3.722 GB, free: 53.25 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.172e-06/9.663, allocations: 0 / 3.722 GB, free: 53.25 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00824/9.672, allocations: 1.875 MB / 3.724 GB, free: 53.03 MB / 0.9323 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 () * Number of clocked 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.003691/9.675, allocations: 2.045 MB / 3.726 GB, free: 52.31 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008698/9.684, allocations: 3.759 MB / 3.729 GB, free: 52.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/9.684, allocations: 0 / 3.729 GB, free: 52.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002176/9.686, allocations: 0.9004 MB / 3.73 GB, free: 52.06 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01025/9.697, allocations: 2.138 MB / 3.732 GB, free: 51.93 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/9.712, allocations: 7.981 MB / 3.74 GB, free: 47.99 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00259/9.714, allocations: 2.596 MB / 3.743 GB, free: 46.95 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006603/9.721, allocations: 1.165 MB / 3.744 GB, free: 46.76 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/9.723, allocations: 344.6 kB / 3.744 GB, free: 46.75 MB / 0.9323 GB Notification: Performance of SimCode: time 1.693e-06/9.723, allocations: 3.938 kB / 3.744 GB, free: 46.74 MB / 0.9323 GB Notification: Performance of Templates: time 0.7438/10.47, allocations: 103.3 MB / 3.845 GB, free: 112.4 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