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.551/1.551, allocations: 249.3 MB / 261.8 MB, free: 5.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.001135/0.001135, allocations: 176.5 kB / 321.3 MB, free: 14.65 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.566/1.566, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009193/0.0009192, allocations: 90.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.034e-05/4.046e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2054, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6809/0.8864, allocations: 143.7 MB / 1.032 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.8866, allocations: 85.2 kB / 1.032 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03276/0.9194, allocations: 11.18 MB / 1.043 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9195, allocations: 0 / 1.043 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.644e-05/0.9195, allocations: 8 kB / 1.043 GB, free: 13.31 MB / 0.6667 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.0008659/0.9204, allocations: 0.5254 MB / 1.044 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.9204, allocations: 12.03 kB / 1.044 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.9207, allocations: 51.55 kB / 1.044 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.922, allocations: 0.6161 MB / 1.044 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.922, allocations: 7.438 kB / 1.044 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.9221, allocations: 11.44 kB / 1.044 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.9223, allocations: 136.6 kB / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.9223, allocations: 0 / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.9224, allocations: 3.688 kB / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.9224, allocations: 3.953 kB / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.9226, allocations: 87.2 kB / 1.045 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.9234, allocations: 0.4926 MB / 1.045 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.9236, allocations: 105.9 kB / 1.045 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.782e-05/0.9237, allocations: 46.91 kB / 1.045 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.9238, allocations: 4 kB / 1.045 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.9238, allocations: 30.56 kB / 1.045 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.9238, allocations: 0 / 1.045 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0003295/0.9241, allocations: 145.2 kB / 1.045 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.9242, allocations: 55.41 kB / 1.045 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.9245, allocations: 291.5 kB / 1.046 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.9245, allocations: 29.7 kB / 1.046 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.9247, allocations: 152.8 kB / 1.046 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.9247, allocations: 30.98 kB / 1.046 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.9247, allocations: 7.938 kB / 1.046 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9249, allocations: 333.2 kB / 1.046 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.103e-05/0.9249, allocations: 58.19 kB / 1.046 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.9251, allocations: 120.3 kB / 1.046 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.9252, allocations: 55.42 kB / 1.046 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9252, allocations: 4 kB / 1.046 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003328/0.9256, allocations: 218.6 kB / 1.047 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002759/0.9258, allocations: 0.6943 MB / 1.047 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.9259, allocations: 4 kB / 1.047 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.9259, allocations: 11.89 kB / 1.047 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.9261, allocations: 55.7 kB / 1.047 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.9261, allocations: 0 / 1.047 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.9263, allocations: 27.73 kB / 1.047 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.9264, allocations: 27.48 kB / 1.047 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/0.9264, allocations: 0 / 1.047 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002789/0.9267, allocations: 179.1 kB / 1.048 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.9267, allocations: 3.984 kB / 1.048 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.683e-06/0.9267, allocations: 4 kB / 1.048 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.9269, allocations: 52.06 kB / 1.048 GB, free: 8.969 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.9269, allocations: 8 kB / 1.048 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.9271, allocations: 27.08 kB / 1.048 GB, free: 8.938 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.9271, allocations: 12 kB / 1.048 GB, free: 8.926 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.307e-05/0.9272, allocations: 117.9 kB / 1.048 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.9273, allocations: 23.72 kB / 1.048 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.9276, allocations: 168.5 kB / 1.048 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9276, allocations: 4 kB / 1.048 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.9276, allocations: 0 / 1.048 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.9276, allocations: 0 / 1.048 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.9279, allocations: 266.1 kB / 1.048 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.928, allocations: 0 / 1.048 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.9281, allocations: 31.97 kB / 1.048 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.9281, allocations: 0 / 1.048 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.9281, allocations: 4 kB / 1.048 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.9281, allocations: 0 / 1.048 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9281, allocations: 0 / 1.048 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.9284, allocations: 243.5 kB / 1.048 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.9285, allocations: 115.3 kB / 1.049 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.9285, allocations: 0 / 1.049 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.9287, allocations: 15.98 kB / 1.049 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.9288, allocations: 11.48 kB / 1.049 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.9288, allocations: 4 kB / 1.049 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000218/0.929, allocations: 231.1 kB / 1.049 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/0.929, allocations: 0 / 1.049 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000708/0.9297, allocations: 180.5 kB / 1.049 GB, free: 7.617 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.0006499/0.9304, allocations: 407.4 kB / 1.049 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.9308, allocations: 223.9 kB / 1.05 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9308, allocations: 0.875 kB / 1.05 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.252e-05/0.9309, allocations: 50.73 kB / 1.05 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.9313, allocations: 99.92 kB / 1.05 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.9318, allocations: 314.1 kB / 1.05 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.9322, allocations: 0.7777 MB / 1.051 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004045/0.9326, allocations: 118.9 kB / 1.051 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.9327, allocations: 23.44 kB / 1.051 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of SimCode: time 4.71e-07/0.9327, allocations: 0 / 1.051 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of Templates: time 0.01408/0.9468, allocations: 8.65 MB / 1.059 GB, free: 13.16 MB / 0.6823 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