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.417/1.417, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001135/0.001136, allocations: 191.1 kB / 326.5 MB, free: 2.223 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.842/1.842, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009298/0.00093, allocations: 89.8 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 9 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.41, allocations: 143.7 MB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.4103, allocations: 91.94 kB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03389/0.4442, allocations: 11.19 MB / 1.051 GB, free: 4.664 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4443, allocations: 4 kB / 1.051 GB, free: 4.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.647e-05/0.4443, allocations: 4 kB / 1.051 GB, free: 4.656 MB / 0.698 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.001587/0.4459, allocations: 0.6734 MB / 1.052 GB, free: 3.934 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.446, allocations: 8.031 kB / 1.052 GB, free: 3.926 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.4463, allocations: 47.64 kB / 1.052 GB, free: 3.879 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.4476, allocations: 0.6272 MB / 1.053 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4476, allocations: 12 kB / 1.053 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.4477, allocations: 12 kB / 1.053 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.4481, allocations: 156.2 kB / 1.053 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.4481, allocations: 0 / 1.053 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.4481, allocations: 0 / 1.053 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4482, allocations: 7.953 kB / 1.053 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.4485, allocations: 135.8 kB / 1.053 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008886/0.4494, allocations: 0.5004 MB / 1.054 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.4498, allocations: 126.5 kB / 1.054 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.4498, allocations: 4 kB / 1.054 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.4498, allocations: 30.56 kB / 1.054 GB, free: 2.164 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.4499, allocations: 0 / 1.054 GB, free: 2.164 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0006894/0.4505, allocations: 237.2 kB / 1.054 GB, free: 1.926 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.4506, allocations: 55.41 kB / 1.054 GB, free: 1.859 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.4509, allocations: 299.5 kB / 1.054 GB, free: 1.562 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.4509, allocations: 33.7 kB / 1.054 GB, free: 1.523 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4511, allocations: 152.2 kB / 1.055 GB, free: 1.371 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.4511, allocations: 27.64 kB / 1.055 GB, free: 1.344 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.4511, allocations: 3.938 kB / 1.055 GB, free: 1.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.4513, allocations: 338.8 kB / 1.055 GB, free: 1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.4515, allocations: 75.94 kB / 1.055 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4517, allocations: 144.4 kB / 1.055 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.4519, allocations: 87.92 kB / 1.055 GB, free: 0.668 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.452, allocations: 0 / 1.055 GB, free: 0.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005382/0.4525, allocations: 253.3 kB / 1.055 GB, free: 424 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.4683/0.9209, allocations: 0.6996 MB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.9209, allocations: 4.438 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.9209, allocations: 1.812 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.9213, allocations: 52.98 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.9213, allocations: 3.844 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.9216, allocations: 27.67 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.9217, allocations: 16.94 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.9217, allocations: 7.281 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005561/0.9222, allocations: 214.1 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.9223, allocations: 5.328 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-06/0.9223, allocations: 3.531 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.9225, allocations: 48.73 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.9225, allocations: 6.531 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.9227, allocations: 30.02 kB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.9227, allocations: 13.97 kB / 1.056 GB, free: 146.1 MB / 0.698 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 () * Number of clocked 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 0.000198/0.9229, allocations: 230.2 kB / 1.057 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.9229, allocations: 27.69 kB / 1.057 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000543/0.9235, allocations: 205.5 kB / 1.057 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.9235, allocations: 2.938 kB / 1.057 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.9235, allocations: 4.938 kB / 1.057 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.9235, allocations: 0.7969 kB / 1.057 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.9238, allocations: 269 kB / 1.057 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9239, allocations: 8.047 kB / 1.057 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.924, allocations: 26.09 kB / 1.057 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.924, allocations: 3.531 kB / 1.057 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.9241, allocations: 2.906 kB / 1.057 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.9241, allocations: 0.9375 kB / 1.057 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9241, allocations: 2.281 kB / 1.057 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.9245, allocations: 276.8 kB / 1.058 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.9246, allocations: 118.8 kB / 1.058 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.9246, allocations: 0.6094 kB / 1.058 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.9248, allocations: 16.72 kB / 1.058 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.9248, allocations: 11.34 kB / 1.058 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.9248, allocations: 9.672 kB / 1.058 GB, free: 145.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001817/0.925, allocations: 233.9 kB / 1.058 GB, free: 145.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.925, allocations: 0 / 1.058 GB, free: 145.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007319/0.9258, allocations: 173.4 kB / 1.058 GB, free: 145.4 MB / 0.698 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 () * Number of clocked 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.0005855/0.9264, allocations: 401.9 kB / 1.058 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007076/0.9271, allocations: 288 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9271, allocations: 0 / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.9273, allocations: 74.75 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.9277, allocations: 89.12 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/0.9284, allocations: 0.5266 MB / 1.059 GB, free: 145 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.9286, allocations: 0.7802 MB / 1.06 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003002/0.9289, allocations: 83.61 kB / 1.06 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/0.929, allocations: 28.75 kB / 1.06 GB, free: 144.3 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.929, allocations: 0 / 1.06 GB, free: 144.3 MB / 0.698 GB Notification: Performance of Templates: time 0.01539/0.9444, allocations: 7.742 MB / 1.068 GB, free: 143.7 MB / 0.698 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