Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 104.7 kB / 16.27 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001193, allocations: 187.3 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437.1 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001935, allocations: 75.92 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3093, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003872/0.3132, allocations: 2.304 MB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006251/0.3195, allocations: 3.786 MB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.3198, allocations: 7.938 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005993/0.326, allocations: 3.007 MB / 1.027 GB, free: 1.5 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.3271, allocations: 394.5 kB / 1.027 GB, free: 1.113 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3284, allocations: 0.499 MB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005/0.3334, allocations: 3.107 MB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3336, allocations: 40.67 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.334, allocations: 207.3 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003853/0.3344, allocations: 203.2 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.051e-05/0.3345, allocations: 16 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.336, allocations: 0.7486 MB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.3363, allocations: 207.5 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.3366, allocations: 242.6 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.3383, allocations: 1.005 MB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3383, allocations: 4 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3383, allocations: 0 / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.3383, allocations: 0 / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001758/0.3401, allocations: 0.8749 MB / 1.034 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3401, allocations: 16.88 kB / 1.034 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.3415, allocations: 212 kB / 1.034 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.3437, allocations: 0.9561 MB / 1.035 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.3437, allocations: 11.94 kB / 1.035 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.3438, allocations: 12 kB / 1.035 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006202/0.3444, allocations: 259.5 kB / 1.036 GB, free: 8.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.3444, allocations: 0 / 1.036 GB, free: 8.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.3445, allocations: 4 kB / 1.036 GB, free: 8.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3445, allocations: 4 kB / 1.036 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007245/0.3452, allocations: 239.8 kB / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.3467, allocations: 0.8315 MB / 1.037 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007973/0.3475, allocations: 310.6 kB / 1.037 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.3479, allocations: 136.7 kB / 1.037 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.348, allocations: 0 / 1.037 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.348, allocations: 34.56 kB / 1.037 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.348, allocations: 0 / 1.037 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.001345/0.3494, allocations: 440.6 kB / 1.038 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.3494, allocations: 59.39 kB / 1.038 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009663/0.3504, allocations: 0.7342 MB / 1.038 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.3505, allocations: 29.7 kB / 1.038 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.3507, allocations: 228.8 kB / 1.039 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.3507, allocations: 43.45 kB / 1.039 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.351, allocations: 158 kB / 1.039 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3512, allocations: 366.8 kB / 1.039 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007596/0.3519, allocations: 450.9 kB / 1.04 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008402/0.3528, allocations: 0.5277 MB / 1.04 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.3542, allocations: 0.8664 MB / 1.041 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.3542, allocations: 4 kB / 1.041 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001849/0.3561, allocations: 1.076 MB / 1.042 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3561, allocations: 8 kB / 1.042 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.3561, allocations: 0 / 1.042 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.3562, allocations: 4 kB / 1.042 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.3567, allocations: 115.8 kB / 1.042 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.3567, allocations: 4 kB / 1.042 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.3572, allocations: 79.34 kB / 1.042 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/0.3572, allocations: 31.98 kB / 1.042 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008901/0.3581, allocations: 0.5481 MB / 1.043 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007425/0.3589, allocations: 464.5 kB / 1.043 GB, free: 464 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001278/0.3602, allocations: 0.7238 MB / 1.044 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.3602, allocations: 384 / 1.044 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001621/0.3618, allocations: 0.9262 MB / 1.045 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.3618, allocations: 4 kB / 1.045 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3619, allocations: 7.984 kB / 1.045 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.124e-06/0.3619, allocations: 11.88 kB / 1.045 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.3623, allocations: 103.9 kB / 1.045 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.3623, allocations: 7.984 kB / 1.045 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.3628, allocations: 60.22 kB / 1.045 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/0.3628, allocations: 27.98 kB / 1.045 GB, free: 14.56 MB / 0.8262 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.363, allocations: 200.1 kB / 1.045 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.3631, allocations: 51.25 kB / 1.045 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.3642, allocations: 354.6 kB / 1.046 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3642, allocations: 4 kB / 1.046 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3642, allocations: 0 / 1.046 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3642, allocations: 0 / 1.046 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.3648, allocations: 405.3 kB / 1.046 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3648, allocations: 4 kB / 1.046 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.3651, allocations: 43.95 kB / 1.046 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3651, allocations: 3.938 kB / 1.046 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3651, allocations: 4 kB / 1.046 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3651, allocations: 0 / 1.046 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3651, allocations: 0 / 1.046 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.366, allocations: 430.6 kB / 1.046 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.3662, allocations: 152.3 kB / 1.047 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.981e-05/0.3663, allocations: 8 kB / 1.047 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.3666, allocations: 23.97 kB / 1.047 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.3666, allocations: 11.92 kB / 1.047 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3667, allocations: 12 kB / 1.047 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006225/0.3673, allocations: 0.4912 MB / 1.047 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3673, allocations: 0 / 1.047 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009828/0.3683, allocations: 319.9 kB / 1.047 GB, free: 11.98 MB / 0.8262 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000889/0.3692, allocations: 378.7 kB / 1.048 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.3714, allocations: 1.15 MB / 1.049 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3714, allocations: 0 / 1.049 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.3718, allocations: 132.3 kB / 1.049 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009418/0.3728, allocations: 204.5 kB / 1.049 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.3745, allocations: 0.9609 MB / 1.05 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.3751, allocations: 0.8933 MB / 1.051 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.3754, allocations: 63.34 kB / 1.051 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3754, allocations: 0 / 1.051 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of Templates: time 0.01728/0.3927, allocations: 9.925 MB / 1.061 GB, free: 14.29 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches