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.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,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.502/1.502, allocations: 249.5 MB / 257 MB, free: 6.973 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.001154/0.001153, allocations: 184.3 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.824/1.824, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.001043/0.001043, allocations: 86.52 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.789e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2321, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.358/6.59, allocations: 2.231 GB / 3.117 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/6.59, allocations: 92.2 kB / 3.117 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.586/12.18, allocations: 1.47 GB / 4.586 GB, free: 6 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.613e-06/12.18, allocations: 3.938 kB / 4.586 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002356/12.18, allocations: 59.98 kB / 4.586 GB, free: 5.938 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.007795/12.18, allocations: 2.575 MB / 4.589 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/12.18, allocations: 8.031 kB / 4.589 GB, free: 3.301 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006304/12.19, allocations: 0.8185 MB / 4.59 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008391/12.2, allocations: 2.991 MB / 4.593 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/12.2, allocations: 44.34 kB / 4.593 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/12.2, allocations: 95.95 kB / 4.593 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002508/12.2, allocations: 1.235 MB / 4.594 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/12.2, allocations: 1.419 MB / 4.595 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/12.2, allocations: 4 kB / 4.595 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/12.2, allocations: 0 / 4.595 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/12.21, allocations: 46.69 kB / 4.596 GB, free: 12.5 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.01226/12.22, allocations: 7.392 MB / 4.603 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/12.22, allocations: 1.18 MB / 4.604 GB, free: 3.34 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007922/12.22, allocations: 479 kB / 4.604 GB, free: 2.871 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/12.22, allocations: 118.3 kB / 4.604 GB, free: 2.738 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/12.22, allocations: 39.34 kB / 4.604 GB, free: 2.688 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001507/12.22, allocations: 131.2 kB / 4.605 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=85): time 3.868e-06/12.22, allocations: 0 / 4.605 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of matching and sorting (n=85): time 0.00365/12.23, allocations: 1.265 MB / 4.606 GB, free: 1.277 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/12.23, allocations: 64.17 kB / 4.606 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8396/13.07, allocations: 1.347 MB / 4.607 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004501/13.07, allocations: 28.7 kB / 4.607 GB, free: 103 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001223/13.07, allocations: 1 MB / 4.608 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/13.07, allocations: 281.3 kB / 4.608 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/13.07, allocations: 0.5938 kB / 4.608 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001415/13.07, allocations: 350.9 kB / 4.609 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008263/13.07, allocations: 396.5 kB / 4.609 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/13.07, allocations: 0.8264 MB / 4.61 GB, free: 102 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/13.07, allocations: 0.5616 MB / 4.611 GB, free: 102 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/13.07, allocations: 7.719 kB / 4.611 GB, free: 102 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005455/13.08, allocations: 1.577 MB / 4.612 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001385/13.08, allocations: 3.951 MB / 4.616 GB, free: 97.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-05/13.08, allocations: 15.97 kB / 4.616 GB, free: 97.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/13.08, allocations: 313 kB / 4.616 GB, free: 97.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/13.08, allocations: 239 kB / 4.617 GB, free: 97.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/13.09, allocations: 3.633 MB / 4.62 GB, free: 94.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/13.09, allocations: 111 kB / 4.62 GB, free: 94.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/13.09, allocations: 78.67 kB / 4.62 GB, free: 94.92 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/13.09, allocations: 8.5 kB / 4.62 GB, free: 94.92 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004996/13.09, allocations: 1.281 MB / 4.621 GB, free: 94.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.362e-05/13.09, allocations: 10.75 kB / 4.622 GB, free: 94.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/13.1, allocations: 315.1 kB / 4.622 GB, free: 94.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/13.1, allocations: 223.9 kB / 4.622 GB, free: 94.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00814/13.1, allocations: 4.98 MB / 4.627 GB, free: 91.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/13.11, allocations: 112.1 kB / 4.627 GB, free: 91.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/13.11, allocations: 71.34 kB / 4.627 GB, free: 91.41 MB / 0.9167 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.0007444/13.11, allocations: 158.9 kB / 4.627 GB, free: 91.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007554/13.11, allocations: 191.3 kB / 4.627 GB, free: 91.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/13.11, allocations: 1.304 MB / 4.629 GB, free: 91.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/13.11, allocations: 7 kB / 4.629 GB, free: 91.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/13.11, allocations: 1 kB / 4.629 GB, free: 91.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002691/13.12, allocations: 1.12 MB / 4.63 GB, free: 90.88 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 postOpt removeSimpleEquations (simulation): time 0.009783/13.13, allocations: 2.938 MB / 4.633 GB, free: 90.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/13.13, allocations: 1.625 kB / 4.633 GB, free: 90.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/13.13, allocations: 186.2 kB / 4.633 GB, free: 90.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006934/13.13, allocations: 213.7 kB / 4.633 GB, free: 90.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/13.13, allocations: 16.23 kB / 4.633 GB, free: 90.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003184/13.13, allocations: 3.418 MB / 4.636 GB, free: 87.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/13.13, allocations: 3.781 kB / 4.636 GB, free: 87.48 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00492/13.14, allocations: 1.887 MB / 4.638 GB, free: 87.02 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/13.14, allocations: 355.7 kB / 4.639 GB, free: 86.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008119/13.14, allocations: 5.125 kB / 4.639 GB, free: 86.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/13.14, allocations: 123.1 kB / 4.639 GB, free: 86.81 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/13.14, allocations: 63.67 kB / 4.639 GB, free: 86.81 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/13.14, allocations: 39.94 kB / 4.639 GB, free: 86.81 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003659/13.14, allocations: 1.022 MB / 4.64 GB, free: 86.67 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.61e-07/13.14, allocations: 0 / 4.64 GB, free: 86.67 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00902/13.15, allocations: 1.413 MB / 4.641 GB, free: 86.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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.01073/13.16, allocations: 4.648 MB / 4.646 GB, free: 84.91 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006158/13.17, allocations: 2.03 MB / 4.648 GB, free: 84.58 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/13.17, allocations: 3.094 kB / 4.648 GB, free: 84.58 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/13.17, allocations: 0.5636 MB / 4.648 GB, free: 84.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006177/13.18, allocations: 0.9168 MB / 4.649 GB, free: 84.44 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008948/13.19, allocations: 2.777 MB / 4.652 GB, free: 83.67 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002646/13.19, allocations: 1.658 MB / 4.653 GB, free: 82.94 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004934/13.19, allocations: 0.6968 MB / 4.654 GB, free: 82.92 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006445/13.2, allocations: 115.7 kB / 4.654 GB, free: 82.92 MB / 0.9167 GB Notification: Performance of SimCode: time 1.743e-06/13.2, allocations: 0 / 4.654 GB, free: 82.92 MB / 0.9167 GB Notification: Performance of Templates: time 0.1095/13.3, allocations: 61.79 MB / 4.715 GB, free: 80.34 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_SpeedControlled_y.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches