Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 249.5 MB / 257 MB, free: 7.031 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.001366/0.001366, allocations: 176.9 kB / 316.3 MB, free: 3.312 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.793/1.793, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.001012/0.001012, allocations: 92.5 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.094e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2418, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.71/1.952, allocations: 431.7 MB / 1.307 GB, free: 313.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.953, allocations: 96.75 kB / 1.307 GB, free: 313.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.734/4.687, allocations: 0.7393 GB / 2.046 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.854e-06/4.687, allocations: 3.375 kB / 2.046 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003913/4.687, allocations: 54.28 kB / 2.046 GB, free: 134.4 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.006509/4.694, allocations: 1.965 MB / 2.048 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/4.694, allocations: 7.75 kB / 2.048 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/4.697, allocations: 0.5535 MB / 2.049 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0319/4.729, allocations: 13.69 MB / 2.062 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/4.729, allocations: 33.69 kB / 2.062 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005038/4.73, allocations: 70.81 kB / 2.062 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002344/4.732, allocations: 0.8613 MB / 2.063 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/4.735, allocations: 1.064 MB / 2.064 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/4.735, allocations: 0 / 2.064 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/4.735, allocations: 3.953 kB / 2.064 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/4.735, allocations: 28.84 kB / 2.064 GB, free: 132.3 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.01102/4.746, allocations: 5.574 MB / 2.07 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/4.748, allocations: 0.7993 MB / 2.07 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/4.748, allocations: 351.2 kB / 2.071 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004893/4.753, allocations: 2.723 MB / 2.073 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/4.753, allocations: 38.11 kB / 2.073 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008745/4.754, allocations: 60.94 kB / 2.073 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 5.5e-06/4.754, allocations: 2.688 kB / 2.073 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.003219/4.757, allocations: 0.9758 MB / 2.074 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/4.758, allocations: 59.59 kB / 2.074 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/4.76, allocations: 1.2 MB / 2.076 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/4.76, allocations: 29.33 kB / 2.076 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007481/4.761, allocations: 0.8441 MB / 2.076 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/4.761, allocations: 199.5 kB / 2.077 GB, free: 127 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/4.761, allocations: 0 / 2.077 GB, free: 127 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/4.761, allocations: 337.8 kB / 2.077 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/4.762, allocations: 310.7 kB / 2.077 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000712/4.762, allocations: 0.7341 MB / 2.078 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/4.764, allocations: 0.5102 MB / 2.078 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/4.764, allocations: 3.906 kB / 2.078 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003751/4.768, allocations: 1.342 MB / 2.08 GB, free: 126 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001033/4.769, allocations: 4.328 MB / 2.084 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/4.769, allocations: 12.75 kB / 2.084 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/4.77, allocations: 200.2 kB / 2.084 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/4.771, allocations: 205.8 kB / 2.084 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/4.772, allocations: 1.874 MB / 2.086 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/4.774, allocations: 84.58 kB / 2.086 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/4.774, allocations: 81.58 kB / 2.086 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/4.774, allocations: 7.25 kB / 2.086 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003262/4.777, allocations: 1.072 MB / 2.087 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/4.777, allocations: 14.89 kB / 2.087 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/4.778, allocations: 201.4 kB / 2.088 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/4.778, allocations: 203.8 kB / 2.088 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004511/4.783, allocations: 3.746 MB / 2.091 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/4.785, allocations: 77.45 kB / 2.092 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/4.785, allocations: 66.34 kB / 2.092 GB, free: 117 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.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: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004564/4.785, allocations: 141.9 kB / 2.092 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005136/4.786, allocations: 166 kB / 2.092 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003338/4.789, allocations: 1.192 MB / 2.093 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/4.789, allocations: 7.812 kB / 2.093 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/4.789, allocations: 8.812 kB / 2.093 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/4.789, allocations: 3.047 kB / 2.093 GB, free: 116.7 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.005823/4.795, allocations: 2.257 MB / 2.095 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/4.795, allocations: 0 / 2.095 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/4.796, allocations: 114.2 kB / 2.095 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/4.796, allocations: 157.6 kB / 2.096 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/4.796, allocations: 20.25 kB / 2.096 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/4.797, allocations: 1.774 MB / 2.097 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/4.797, allocations: 6.797 kB / 2.097 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002799/4.8, allocations: 1.243 MB / 2.099 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009789/4.801, allocations: 326.8 kB / 2.099 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004935/4.801, allocations: 7.234 kB / 2.099 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/4.803, allocations: 72.27 kB / 2.099 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/4.803, allocations: 56.11 kB / 2.099 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.055e-05/4.803, allocations: 37.08 kB / 2.099 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001965/4.805, allocations: 0.8936 MB / 2.1 GB, free: 114 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.01e-07/4.805, allocations: 0 / 2.1 GB, free: 114 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004819/4.81, allocations: 0.9934 MB / 2.101 GB, free: 113.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003344/4.813, allocations: 1.358 MB / 2.102 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003681/4.817, allocations: 1.508 MB / 2.104 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/4.817, allocations: 0 / 2.104 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008405/4.818, allocations: 406.2 kB / 2.104 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003948/4.821, allocations: 0.6718 MB / 2.105 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/4.827, allocations: 2.062 MB / 2.107 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/4.828, allocations: 1.425 MB / 2.108 GB, free: 112 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003346/4.832, allocations: 0.5815 MB / 2.109 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/4.832, allocations: 102.8 kB / 2.109 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.944e-06/4.832, allocations: 0 / 2.109 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.0712/4.903, allocations: 38.9 MB / 2.147 GB, free: 106.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches