Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 249.5 MB / 257 MB, free: 6.824 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.001405/0.001405, allocations: 178.2 kB / 316.3 MB, free: 3.137 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.621/1.621, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.001072/0.001072, allocations: 92.84 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.997e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2102, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7343/0.9446, allocations: 144 MB / 1.026 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.9449, allocations: 86.33 kB / 1.026 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03266/0.9776, allocations: 10.96 MB / 1.037 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.544e-06/0.9776, allocations: 0 / 1.037 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.827e-05/0.9777, allocations: 8 kB / 1.037 GB, free: 0.8438 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008715/0.9786, allocations: 0.5296 MB / 1.037 GB, free: 292 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.9786, allocations: 12.03 kB / 1.037 GB, free: 280 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.9789, allocations: 51.55 kB / 1.037 GB, free: 228 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.9802, allocations: 0.6162 MB / 1.038 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.9802, allocations: 4 kB / 1.038 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.9802, allocations: 4 kB / 1.038 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002101/0.9804, allocations: 115.1 kB / 1.038 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.9806, allocations: 119.6 kB / 1.038 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.9806, allocations: 0 / 1.038 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.9807, allocations: 3.953 kB / 1.038 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.9807, allocations: 8 kB / 1.038 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007622/0.9815, allocations: 475.2 kB / 1.038 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.9817, allocations: 140.1 kB / 1.039 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.9818, allocations: 58.95 kB / 1.039 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.9818, allocations: 4 kB / 1.039 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.9818, allocations: 38.44 kB / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.9819, allocations: 0 / 1.039 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0004611/0.9823, allocations: 178.6 kB / 1.039 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.9824, allocations: 59.09 kB / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.9827, allocations: 262.5 kB / 1.039 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.9827, allocations: 25.7 kB / 1.039 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.9828, allocations: 155.2 kB / 1.039 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.9828, allocations: 30.8 kB / 1.039 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.9828, allocations: 0 / 1.039 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.983, allocations: 337.2 kB / 1.04 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/0.9831, allocations: 63.72 kB / 1.04 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.9833, allocations: 138.9 kB / 1.04 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.9835, allocations: 89.33 kB / 1.04 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9835, allocations: 4 kB / 1.04 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004738/0.984, allocations: 247.4 kB / 1.04 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002989/0.9843, allocations: 0.6998 MB / 1.041 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.9844, allocations: 4 kB / 1.041 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.9844, allocations: 0 / 1.041 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.9846, allocations: 51.89 kB / 1.041 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.9847, allocations: 7.953 kB / 1.041 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.9848, allocations: 23.83 kB / 1.041 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.9849, allocations: 19.5 kB / 1.041 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.9849, allocations: 5.562 kB / 1.041 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003429/0.9852, allocations: 162.5 kB / 1.041 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.9853, allocations: 4 kB / 1.041 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.9853, allocations: 4 kB / 1.041 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.9855, allocations: 40.19 kB / 1.041 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.9855, allocations: 11.94 kB / 1.041 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.9856, allocations: 23.77 kB / 1.041 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.9857, allocations: 14.81 kB / 1.041 GB, free: 12.39 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.609e-05/0.9858, allocations: 105 kB / 1.041 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.9858, allocations: 27.67 kB / 1.041 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003522/0.9862, allocations: 164.9 kB / 1.042 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.9862, allocations: 3.984 kB / 1.042 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9862, allocations: 0 / 1.042 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.9862, allocations: 0 / 1.042 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.9865, allocations: 244.5 kB / 1.042 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9865, allocations: 0 / 1.042 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.9867, allocations: 27.98 kB / 1.042 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.9867, allocations: 7.891 kB / 1.042 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.9867, allocations: 7.984 kB / 1.042 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.9867, allocations: 0 / 1.042 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9867, allocations: 0 / 1.042 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.987, allocations: 225.2 kB / 1.042 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.9871, allocations: 107.4 kB / 1.042 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.9871, allocations: 7.938 kB / 1.042 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.9873, allocations: 15.94 kB / 1.042 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.9873, allocations: 11.17 kB / 1.042 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.9874, allocations: 4 kB / 1.042 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001894/0.9875, allocations: 214.5 kB / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9876, allocations: 0 / 1.042 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007157/0.9883, allocations: 166.1 kB / 1.043 GB, free: 11.14 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006497/0.9889, allocations: 387.8 kB / 1.043 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.9893, allocations: 240.8 kB / 1.043 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9893, allocations: 0 / 1.043 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.605e-05/0.9894, allocations: 45.12 kB / 1.043 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.9899, allocations: 92.33 kB / 1.043 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.9904, allocations: 304.1 kB / 1.044 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.9908, allocations: 0.775 MB / 1.044 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004351/0.9912, allocations: 122 kB / 1.044 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/0.9913, allocations: 27.42 kB / 1.044 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of SimCode: time 2.61e-07/0.9913, allocations: 0 / 1.044 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of Templates: time 0.01218/1.004, allocations: 6.845 MB / 1.051 GB, free: 2.523 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches