Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.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_Nrpm,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_Nrpm") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,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_Nrpm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001046/0.001046, allocations: 180.8 kB / 487.4 MB, free: 5.027 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.485/1.485, 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.0008938/0.0008938, allocations: 105.1 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.88e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2398, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.126/4.366, allocations: 1.945 GB / 3.151 GB, free: 406.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/4.366, allocations: 89.2 kB / 3.151 GB, free: 406.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.816/9.182, allocations: 1.537 GB / 4.688 GB, free: 143.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.054e-06/9.182, allocations: 0 / 4.688 GB, free: 143.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000379/9.183, allocations: 64.61 kB / 4.688 GB, free: 143.7 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.007173/9.19, allocations: 2.578 MB / 4.69 GB, free: 141.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/9.19, allocations: 11.56 kB / 4.69 GB, free: 141.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006959/9.197, allocations: 1.002 MB / 4.691 GB, free: 141.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008279/9.205, allocations: 3.092 MB / 4.694 GB, free: 138.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/9.206, allocations: 45.55 kB / 4.695 GB, free: 138.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005519/9.206, allocations: 92 kB / 4.695 GB, free: 138.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002868/9.209, allocations: 1.247 MB / 4.696 GB, free: 137.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003243/9.212, allocations: 1.448 MB / 4.697 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/9.212, allocations: 0.5156 kB / 4.697 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/9.213, allocations: 3.891 kB / 4.697 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/9.213, allocations: 58.61 kB / 4.697 GB, free: 135.8 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.01062/9.223, allocations: 7.479 MB / 4.705 GB, free: 127.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/9.225, allocations: 1.234 MB / 4.706 GB, free: 126.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005974/9.226, allocations: 488.1 kB / 4.706 GB, free: 126.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/9.226, allocations: 115.8 kB / 4.706 GB, free: 126.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/9.226, allocations: 43.34 kB / 4.706 GB, free: 126 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001029/9.227, allocations: 121.4 kB / 4.707 GB, free: 125.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 3.938e-06/9.227, allocations: 3.938 kB / 4.707 GB, free: 125.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.003113/9.23, allocations: 1.307 MB / 4.708 GB, free: 124.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/9.23, allocations: 60.19 kB / 4.708 GB, free: 124.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/9.233, allocations: 1.359 MB / 4.709 GB, free: 123.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/9.233, allocations: 29.7 kB / 4.709 GB, free: 123.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007067/9.234, allocations: 1.004 MB / 4.71 GB, free: 122.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/9.234, allocations: 287.7 kB / 4.71 GB, free: 121.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/9.234, allocations: 0 / 4.71 GB, free: 121.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.395e-05/9.234, allocations: 349.9 kB / 4.711 GB, free: 121.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/9.234, allocations: 414.5 kB / 4.711 GB, free: 121 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006834/9.235, allocations: 0.8259 MB / 4.712 GB, free: 120 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/9.236, allocations: 0.5727 MB / 4.713 GB, free: 119.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/9.236, allocations: 4 kB / 4.713 GB, free: 119.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003206/9.239, allocations: 1.603 MB / 4.714 GB, free: 117.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007225/9.24, allocations: 3.951 MB / 4.718 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/9.24, allocations: 11.09 kB / 4.718 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008304/9.241, allocations: 319.3 kB / 4.718 GB, free: 113.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/9.242, allocations: 266.8 kB / 4.719 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/9.245, allocations: 3.649 MB / 4.722 GB, free: 109.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/9.247, allocations: 132.1 kB / 4.722 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/9.247, allocations: 79.97 kB / 4.722 GB, free: 109.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/9.247, allocations: 4 kB / 4.722 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00289/9.25, allocations: 1.309 MB / 4.724 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/9.25, allocations: 12 kB / 4.724 GB, free: 107.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/9.251, allocations: 321.2 kB / 4.724 GB, free: 107.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008214/9.252, allocations: 235.6 kB / 4.724 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005271/9.257, allocations: 5.002 MB / 4.729 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/9.259, allocations: 136.6 kB / 4.729 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/9.259, allocations: 67.97 kB / 4.729 GB, free: 101.7 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.0003669/9.259, allocations: 141.6 kB / 4.729 GB, free: 101.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004625/9.26, allocations: 189.6 kB / 4.73 GB, free: 101.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003245/9.263, allocations: 1.341 MB / 4.731 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/9.263, allocations: 8 kB / 4.731 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/9.263, allocations: 0 / 4.731 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002181/9.265, allocations: 1.16 MB / 4.732 GB, free: 98.82 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.006191/9.272, allocations: 3.021 MB / 4.735 GB, free: 95.72 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/9.272, allocations: 0 / 4.735 GB, free: 95.72 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008879/9.273, allocations: 195.9 kB / 4.735 GB, free: 95.53 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005019/9.273, allocations: 213.9 kB / 4.735 GB, free: 95.32 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/9.273, allocations: 23.97 kB / 4.735 GB, free: 95.29 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/9.275, allocations: 3.435 MB / 4.739 GB, free: 91.67 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/9.275, allocations: 0 / 4.739 GB, free: 91.67 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/9.279, allocations: 1.949 MB / 4.741 GB, free: 89.63 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008526/9.279, allocations: 362.6 kB / 4.741 GB, free: 89.25 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/9.28, allocations: 0 / 4.741 GB, free: 89.25 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/9.281, allocations: 127.7 kB / 4.741 GB, free: 89.13 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.976e-05/9.281, allocations: 60.66 kB / 4.741 GB, free: 89.07 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/9.282, allocations: 39.97 kB / 4.741 GB, free: 89.03 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001709/9.283, allocations: 1.036 MB / 4.742 GB, free: 87.97 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/9.283, allocations: 0 / 4.742 GB, free: 87.97 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005111/9.288, allocations: 1.446 MB / 4.744 GB, free: 86.52 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.005786/9.294, allocations: 4.65 MB / 4.748 GB, free: 82 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003343/9.298, allocations: 2.079 MB / 4.75 GB, free: 79.89 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/9.298, allocations: 0 / 4.75 GB, free: 79.89 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008152/9.298, allocations: 0.5754 MB / 4.751 GB, free: 79.31 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003999/9.302, allocations: 0.9205 MB / 4.752 GB, free: 78.42 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/9.308, allocations: 2.85 MB / 4.754 GB, free: 75.53 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/9.309, allocations: 1.661 MB / 4.756 GB, free: 73.83 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003171/9.312, allocations: 0.7167 MB / 4.757 GB, free: 73.15 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/9.313, allocations: 123.1 kB / 4.757 GB, free: 73.03 MB / 1.167 GB Notification: Performance of SimCode: time 5.81e-07/9.313, allocations: 0 / 4.757 GB, free: 73.03 MB / 1.167 GB Notification: Performance of Templates: time 0.08393/9.397, allocations: 62.02 MB / 4.817 GB, free: 11.69 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches