Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009388/0.0009388, allocations: 180.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000868/0.0008681, allocations: 102.7 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.469e-05/1.471e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2675, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.555/4.823, allocations: 1.945 GB / 3.151 GB, free: 343.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/4.823, allocations: 90.73 kB / 3.151 GB, free: 343.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.642/9.465, allocations: 1.537 GB / 4.688 GB, free: 110.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.452e-06/9.465, allocations: 0 / 4.688 GB, free: 110.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000408/9.466, allocations: 71.03 kB / 4.688 GB, free: 110.2 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007998/9.474, allocations: 2.573 MB / 4.69 GB, free: 107.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/9.474, allocations: 12.03 kB / 4.69 GB, free: 107.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007058/9.481, allocations: 1.003 MB / 4.691 GB, free: 106.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00813/9.489, allocations: 3.102 MB / 4.694 GB, free: 103.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/9.489, allocations: 44 kB / 4.695 GB, free: 103.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/9.489, allocations: 92 kB / 4.695 GB, free: 103.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001998/9.491, allocations: 1.247 MB / 4.696 GB, free: 102.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/9.493, allocations: 1.439 MB / 4.697 GB, free: 100.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/9.493, allocations: 7.938 kB / 4.697 GB, free: 100.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/9.493, allocations: 0 / 4.697 GB, free: 100.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/9.493, allocations: 46.67 kB / 4.697 GB, free: 100.5 MB / 1.167 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.009046/9.502, allocations: 7.493 MB / 4.705 GB, free: 92.57 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/9.504, allocations: 1.219 MB / 4.706 GB, free: 91.29 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/9.505, allocations: 491 kB / 4.706 GB, free: 90.81 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/9.505, allocations: 119.8 kB / 4.706 GB, free: 90.68 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/9.505, allocations: 55.22 kB / 4.706 GB, free: 90.62 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009744/9.506, allocations: 115.3 kB / 4.707 GB, free: 90.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 4.038e-06/9.506, allocations: 0 / 4.707 GB, free: 90.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.002701/9.509, allocations: 1.308 MB / 4.708 GB, free: 89.18 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/9.509, allocations: 60.19 kB / 4.708 GB, free: 89.11 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/9.511, allocations: 1.36 MB / 4.709 GB, free: 87.71 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.74e-05/9.511, allocations: 29.7 kB / 4.709 GB, free: 87.68 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/9.511, allocations: 1.012 MB / 4.71 GB, free: 86.65 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/9.511, allocations: 279.7 kB / 4.71 GB, free: 86.38 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/9.512, allocations: 0 / 4.71 GB, free: 86.38 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/9.512, allocations: 345.9 kB / 4.711 GB, free: 86.03 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/9.512, allocations: 414.5 kB / 4.711 GB, free: 85.63 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/9.513, allocations: 0.8283 MB / 4.712 GB, free: 84.61 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/9.514, allocations: 0.5727 MB / 4.713 GB, free: 84.04 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/9.514, allocations: 0 / 4.713 GB, free: 84.04 MB / 1.167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002965/9.517, allocations: 1.609 MB / 4.714 GB, free: 82.41 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006436/9.517, allocations: 3.959 MB / 4.718 GB, free: 78.19 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/9.517, allocations: 11.98 kB / 4.718 GB, free: 78.18 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008073/9.518, allocations: 306.3 kB / 4.718 GB, free: 77.87 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009981/9.519, allocations: 255.6 kB / 4.719 GB, free: 77.62 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/9.522, allocations: 3.661 MB / 4.722 GB, free: 73.77 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/9.524, allocations: 135.7 kB / 4.722 GB, free: 73.64 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/9.524, allocations: 87.95 kB / 4.722 GB, free: 73.55 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/9.524, allocations: 0.625 kB / 4.722 GB, free: 73.55 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002882/9.527, allocations: 1.301 MB / 4.724 GB, free: 72.24 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/9.527, allocations: 11.94 kB / 4.724 GB, free: 72.23 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009737/9.528, allocations: 314.6 kB / 4.724 GB, free: 71.91 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008224/9.529, allocations: 235.6 kB / 4.724 GB, free: 71.68 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00523/9.534, allocations: 5.015 MB / 4.729 GB, free: 66.33 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/9.536, allocations: 139.7 kB / 4.729 GB, free: 66.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/9.536, allocations: 63.98 kB / 4.729 GB, free: 66.13 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 9,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003832/9.537, allocations: 139.1 kB / 4.729 GB, free: 65.99 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/9.537, allocations: 197.5 kB / 4.73 GB, free: 65.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/9.54, allocations: 1.334 MB / 4.731 GB, free: 64.45 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/9.54, allocations: 12 kB / 4.731 GB, free: 64.43 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/9.54, allocations: 0 / 4.731 GB, free: 64.43 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002131/9.542, allocations: 1.152 MB / 4.732 GB, free: 63.24 MB / 1.167 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.005675/9.548, allocations: 3.034 MB / 4.735 GB, free: 60.13 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/9.548, allocations: 4 kB / 4.735 GB, free: 60.12 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009287/9.549, allocations: 191.9 kB / 4.735 GB, free: 59.94 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004948/9.549, allocations: 210.5 kB / 4.735 GB, free: 59.72 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/9.549, allocations: 11.98 kB / 4.735 GB, free: 59.71 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/9.552, allocations: 3.438 MB / 4.739 GB, free: 56.09 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/9.552, allocations: 11.92 kB / 4.739 GB, free: 56.07 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/9.555, allocations: 1.947 MB / 4.741 GB, free: 54.03 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009811/9.556, allocations: 354.5 kB / 4.741 GB, free: 53.66 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/9.556, allocations: 11.98 kB / 4.741 GB, free: 53.65 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/9.557, allocations: 123.7 kB / 4.741 GB, free: 53.53 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/9.557, allocations: 56.66 kB / 4.741 GB, free: 53.48 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/9.558, allocations: 43.97 kB / 4.741 GB, free: 53.43 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001424/9.559, allocations: 1.028 MB / 4.742 GB, free: 52.39 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/9.559, allocations: 0 / 4.742 GB, free: 52.39 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004673/9.564, allocations: 1.446 MB / 4.744 GB, free: 50.94 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005416/9.569, allocations: 4.668 MB / 4.748 GB, free: 46.28 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003448/9.573, allocations: 2.063 MB / 4.75 GB, free: 44.19 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/9.573, allocations: 0 / 4.75 GB, free: 44.19 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008481/9.573, allocations: 0.5834 MB / 4.751 GB, free: 43.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004105/9.578, allocations: 0.9137 MB / 4.752 GB, free: 42.69 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/9.582, allocations: 2.85 MB / 4.754 GB, free: 39.78 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009169/9.583, allocations: 1.657 MB / 4.756 GB, free: 38.09 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002923/9.586, allocations: 0.7304 MB / 4.757 GB, free: 37.36 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/9.586, allocations: 115.4 kB / 4.757 GB, free: 37.24 MB / 1.167 GB Notification: Performance of SimCode: time 9.72e-07/9.586, allocations: 0 / 4.757 GB, free: 37.24 MB / 1.167 GB Notification: Performance of Templates: time 0.08734/9.674, allocations: 62.02 MB / 4.817 GB, free: 7.641 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches