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.393/1.393, allocations: 251.9 MB / 266.9 MB, free: 11 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.00113/0.00113, allocations: 175 kB / 326.5 MB, free: 2.242 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.832/1.832, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.00101/0.00101, allocations: 93.8 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 8.531 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2363, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.133/5.369, allocations: 2.231 GB / 3.131 GB, free: 317.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/5.37, allocations: 100.5 kB / 3.131 GB, free: 317.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.149/10.52, allocations: 1.488 GB / 4.62 GB, free: 114.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.514e-06/10.52, allocations: 2.844 kB / 4.62 GB, free: 114.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004422/10.52, allocations: 57.42 kB / 4.62 GB, free: 114.2 MB / 0.9167 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.01451/10.53, allocations: 3.433 MB / 4.623 GB, free: 113 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/10.53, allocations: 11.75 kB / 4.623 GB, free: 113 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00656/10.54, allocations: 0.8123 MB / 4.624 GB, free: 112.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/10.55, allocations: 3.02 MB / 4.627 GB, free: 112.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/10.55, allocations: 118.1 kB / 4.627 GB, free: 112.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008297/10.55, allocations: 154.1 kB / 4.627 GB, free: 112.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006626/10.56, allocations: 1.706 MB / 4.629 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.497e-05/10.56, allocations: 0 / 4.629 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/10.56, allocations: 57.91 kB / 4.629 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.566e-05/10.56, allocations: 51.44 kB / 4.629 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00531/10.56, allocations: 1.343 MB / 4.63 GB, free: 112 MB / 0.9167 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.01819/10.58, allocations: 7.671 MB / 4.638 GB, free: 108.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004808/10.59, allocations: 1.184 MB / 4.639 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/10.59, allocations: 112 kB / 4.639 GB, free: 108 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/10.59, allocations: 46.28 kB / 4.639 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001907/10.59, allocations: 154.9 kB / 4.639 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=85): time 1.074e-05/10.59, allocations: 0 / 4.639 GB, free: 107.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=85): time 0.01136/10.6, allocations: 2.116 MB / 4.641 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/10.6, allocations: 66.38 kB / 4.641 GB, free: 107.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004826/10.61, allocations: 1.587 MB / 4.643 GB, free: 107.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002478/10.61, allocations: 49.14 kB / 4.643 GB, free: 107.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/10.61, allocations: 1.003 MB / 4.644 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004054/10.61, allocations: 288.4 kB / 4.644 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/10.61, allocations: 23.11 kB / 4.644 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001134/10.61, allocations: 346.9 kB / 4.645 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/10.61, allocations: 422.1 kB / 4.645 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/10.61, allocations: 0.8595 MB / 4.646 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/10.61, allocations: 0.5249 MB / 4.646 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/10.61, allocations: 9.328 kB / 4.646 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005483/10.62, allocations: 1.604 MB / 4.648 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009838/10.62, allocations: 3.975 MB / 4.652 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/10.62, allocations: 14.47 kB / 4.652 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/10.62, allocations: 271.6 kB / 4.652 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/10.62, allocations: 244.4 kB / 4.652 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/10.63, allocations: 3.638 MB / 4.656 GB, free: 98.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/10.63, allocations: 143.7 kB / 4.656 GB, free: 98.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/10.63, allocations: 83.84 kB / 4.656 GB, free: 98.38 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/10.63, allocations: 3.406 kB / 4.656 GB, free: 98.38 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00363/10.63, allocations: 1.455 MB / 4.658 GB, free: 98.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/10.63, allocations: 7.219 kB / 4.658 GB, free: 98.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/10.63, allocations: 336.5 kB / 4.658 GB, free: 98.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008446/10.63, allocations: 223.5 kB / 4.658 GB, free: 98.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006038/10.64, allocations: 5.23 MB / 4.663 GB, free: 94.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/10.64, allocations: 139.2 kB / 4.663 GB, free: 94.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/10.64, allocations: 71.02 kB / 4.663 GB, free: 94.73 MB / 0.9167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 112 * 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 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.00189/10.64, allocations: 0.6146 MB / 4.664 GB, free: 94.53 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000687/10.65, allocations: 202.1 kB / 4.664 GB, free: 94.43 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/10.65, allocations: 1.454 MB / 4.666 GB, free: 94.29 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/10.65, allocations: 12.25 kB / 4.666 GB, free: 94.29 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/10.65, allocations: 0 / 4.666 GB, free: 94.29 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002807/10.65, allocations: 1.239 MB / 4.667 GB, free: 94.07 MB / 0.9167 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.008196/10.66, allocations: 3.23 MB / 4.67 GB, free: 93.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/10.66, allocations: 5.906 kB / 4.67 GB, free: 93.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008918/10.66, allocations: 180.2 kB / 4.67 GB, free: 93.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000837/10.66, allocations: 273.3 kB / 4.67 GB, free: 93.45 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.679e-05/10.66, allocations: 30.83 kB / 4.67 GB, free: 93.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/10.67, allocations: 3.519 MB / 4.674 GB, free: 90.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/10.67, allocations: 0 / 4.674 GB, free: 90.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004453/10.67, allocations: 2.122 MB / 4.676 GB, free: 90.08 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/10.67, allocations: 373.8 kB / 4.676 GB, free: 89.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005761/10.67, allocations: 15.97 kB / 4.676 GB, free: 89.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/10.67, allocations: 136.3 kB / 4.676 GB, free: 89.87 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/10.67, allocations: 55.38 kB / 4.676 GB, free: 89.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.912e-05/10.67, allocations: 38.59 kB / 4.677 GB, free: 89.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001968/10.68, allocations: 1.241 MB / 4.678 GB, free: 89.71 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.41e-07/10.68, allocations: 0 / 4.678 GB, free: 89.71 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005786/10.68, allocations: 1.52 MB / 4.679 GB, free: 89.54 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 () * Number of clocked 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.006429/10.69, allocations: 4.482 MB / 4.684 GB, free: 87.69 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005006/10.69, allocations: 2.172 MB / 4.686 GB, free: 87.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/10.69, allocations: 0 / 4.686 GB, free: 87.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/10.69, allocations: 0.651 MB / 4.686 GB, free: 87.17 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/10.7, allocations: 1.034 MB / 4.687 GB, free: 87.13 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/10.71, allocations: 4.372 MB / 4.692 GB, free: 85.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/10.71, allocations: 1.656 MB / 4.693 GB, free: 84.47 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002394/10.71, allocations: 489.7 kB / 4.694 GB, free: 84.44 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/10.71, allocations: 152.5 kB / 4.694 GB, free: 84.43 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/10.71, allocations: 0 / 4.694 GB, free: 84.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.109/10.82, allocations: 82.81 MB / 4.775 GB, free: 38.97 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