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.522/1.522, allocations: 249.3 MB / 261.8 MB, free: 5.738 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.001028/0.001028, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009101/0.00091, allocations: 86.45 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.877e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.253, allocations: 106.3 MB / 0.8918 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.262/6.515, allocations: 2.231 GB / 3.123 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/6.515, allocations: 88.58 kB / 3.123 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.422/11.94, allocations: 1.487 GB / 4.61 GB, free: 5.43 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.248e-06/11.94, allocations: 0 / 4.61 GB, free: 5.43 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004467/11.94, allocations: 64.14 kB / 4.61 GB, free: 5.367 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.009993/11.95, allocations: 2.577 MB / 4.613 GB, free: 2.734 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/11.95, allocations: 8.031 kB / 4.613 GB, free: 2.727 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006336/11.95, allocations: 0.8124 MB / 4.613 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7298/12.68, allocations: 2.993 MB / 4.616 GB, free: 112 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/12.68, allocations: 118.6 kB / 4.616 GB, free: 112 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/12.68, allocations: 159.1 kB / 4.617 GB, free: 112 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004195/12.69, allocations: 1.621 MB / 4.618 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/12.69, allocations: 4.922 kB / 4.618 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/12.69, allocations: 59.09 kB / 4.618 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-05/12.69, allocations: 49.16 kB / 4.618 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002761/12.69, allocations: 1.216 MB / 4.619 GB, free: 111.8 MB / 0.9323 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.01242/12.7, allocations: 7.677 MB / 4.627 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/12.71, allocations: 1.098 MB / 4.628 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008649/12.71, allocations: 454 kB / 4.628 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/12.71, allocations: 115.3 kB / 4.628 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/12.71, allocations: 43.27 kB / 4.629 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001488/12.71, allocations: 159.7 kB / 4.629 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=85): time 3.386e-06/12.71, allocations: 0 / 4.629 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=85): time 0.003142/12.71, allocations: 1.121 MB / 4.63 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/12.71, allocations: 61.2 kB / 4.63 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/12.72, allocations: 1.568 MB / 4.631 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001794/12.72, allocations: 54.34 kB / 4.631 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008932/12.72, allocations: 0.9916 MB / 4.632 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/12.72, allocations: 298.8 kB / 4.633 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/12.72, allocations: 22.28 kB / 4.633 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/12.72, allocations: 349.5 kB / 4.633 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006393/12.72, allocations: 365 kB / 4.633 GB, free: 106.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008641/12.72, allocations: 0.8071 MB / 4.634 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007632/12.72, allocations: 481.3 kB / 4.635 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/12.72, allocations: 3.938 kB / 4.635 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003311/12.72, allocations: 1.492 MB / 4.636 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000936/12.72, allocations: 3.983 MB / 4.64 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/12.72, allocations: 10.12 kB / 4.64 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008703/12.72, allocations: 269.3 kB / 4.64 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/12.73, allocations: 238.7 kB / 4.64 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/12.73, allocations: 3.582 MB / 4.644 GB, free: 98.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/12.73, allocations: 147.9 kB / 4.644 GB, free: 98.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/12.73, allocations: 80.31 kB / 4.644 GB, free: 98.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/12.73, allocations: 3.688 kB / 4.644 GB, free: 98.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003697/12.74, allocations: 1.36 MB / 4.646 GB, free: 98.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/12.74, allocations: 10.25 kB / 4.646 GB, free: 98.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/12.74, allocations: 331.7 kB / 4.646 GB, free: 98.63 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008582/12.74, allocations: 222.1 kB / 4.646 GB, free: 98.63 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006727/12.74, allocations: 5.159 MB / 4.651 GB, free: 95.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/12.75, allocations: 133.2 kB / 4.651 GB, free: 95.08 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/12.75, allocations: 69.83 kB / 4.651 GB, free: 95.08 MB / 0.9323 GB 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.0004804/12.75, allocations: 174.4 kB / 4.651 GB, free: 94.98 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004444/12.75, allocations: 200.1 kB / 4.652 GB, free: 94.87 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003692/12.75, allocations: 1.357 MB / 4.653 GB, free: 94.74 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/12.75, allocations: 8.125 kB / 4.653 GB, free: 94.74 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/12.75, allocations: 0.9375 kB / 4.653 GB, free: 94.74 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00243/12.75, allocations: 1.139 MB / 4.654 GB, free: 94.54 MB / 0.9323 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.008713/12.76, allocations: 3.136 MB / 4.657 GB, free: 93.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/12.76, allocations: 1.625 kB / 4.657 GB, free: 93.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/12.76, allocations: 183.7 kB / 4.657 GB, free: 93.96 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009846/12.77, allocations: 267.6 kB / 4.658 GB, free: 93.93 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.671e-05/12.77, allocations: 26.28 kB / 4.658 GB, free: 93.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/12.77, allocations: 3.451 MB / 4.661 GB, free: 91.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/12.77, allocations: 6.906 kB / 4.661 GB, free: 91.05 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005117/12.77, allocations: 1.939 MB / 4.663 GB, free: 90.57 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/12.78, allocations: 371.9 kB / 4.663 GB, free: 90.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/12.78, allocations: 16.28 kB / 4.663 GB, free: 90.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/12.78, allocations: 136.9 kB / 4.663 GB, free: 90.36 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/12.78, allocations: 59.36 kB / 4.663 GB, free: 90.36 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/12.78, allocations: 46.84 kB / 4.663 GB, free: 90.36 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003051/12.78, allocations: 1.216 MB / 4.665 GB, free: 90.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.11e-07/12.78, allocations: 1.125 kB / 4.665 GB, free: 90.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.007448/12.79, allocations: 1.51 MB / 4.666 GB, free: 90.14 MB / 0.9323 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.009447/12.8, allocations: 4.476 MB / 4.671 GB, free: 88.41 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00552/12.8, allocations: 2.088 MB / 4.673 GB, free: 88.05 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/12.8, allocations: 1.031 kB / 4.673 GB, free: 88.05 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/12.8, allocations: 0.5846 MB / 4.673 GB, free: 87.93 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006122/12.81, allocations: 1.047 MB / 4.674 GB, free: 87.89 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006335/12.82, allocations: 2.857 MB / 4.677 GB, free: 87.11 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/12.82, allocations: 1.656 MB / 4.679 GB, free: 86.37 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003485/12.82, allocations: 0.7646 MB / 4.679 GB, free: 86.35 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/12.82, allocations: 121 kB / 4.679 GB, free: 86.35 MB / 0.9323 GB Notification: Performance of SimCode: time 2.314e-06/12.82, allocations: 0 / 4.679 GB, free: 86.35 MB / 0.9323 GB Notification: Performance of Templates: time 0.1363/12.96, allocations: 95.64 MB / 4.773 GB, free: 82.62 MB / 0.9323 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