Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001285/0.001285, allocations: 98.38 kB / 15.05 MB, free: 1.105 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.001473/0.001473, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.2 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 11.98 kB / 0.8145 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7119/0.7123, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002034/0.7144, allocations: 1.674 MB / 0.9551 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002799/0.7172, allocations: 1.853 MB / 0.957 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.7174, allocations: 6.531 kB / 0.957 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.718, allocations: 152.3 kB / 0.9571 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007601/0.7188, allocations: 229.9 kB / 0.9573 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00097/0.7197, allocations: 377.4 kB / 0.9577 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.7203, allocations: 285.8 kB / 0.958 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.7204, allocations: 34.89 kB / 0.958 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.7206, allocations: 135.5 kB / 0.9581 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.7208, allocations: 121.4 kB / 0.9582 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.7209, allocations: 8.625 kB / 0.9582 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005166/0.7214, allocations: 302.9 kB / 0.9585 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/0.7215, allocations: 84.36 kB / 0.9586 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.7216, allocations: 72.77 kB / 0.9587 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.722, allocations: 398.7 kB / 0.9591 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.722, allocations: 4 kB / 0.9591 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.722, allocations: 0 / 0.9591 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.722, allocations: 0 / 0.9591 GB, free: 3.984 MB / 0.7169 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.0007154/0.7227, allocations: 0.5604 MB / 0.9596 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7228, allocations: 9.625 kB / 0.9596 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009013/0.7237, allocations: 142.7 kB / 0.9598 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.7241, allocations: 326 kB / 0.9601 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.7241, allocations: 4.031 kB / 0.9601 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.7242, allocations: 19.19 kB / 0.9601 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.7247, allocations: 199.7 kB / 0.9603 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7248, allocations: 0 / 0.9603 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.7248, allocations: 5.266 kB / 0.9603 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.7248, allocations: 1.719 kB / 0.9603 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007437/0.7255, allocations: 220.1 kB / 0.9605 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/0.7265, allocations: 0.5519 MB / 0.961 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/0.7272, allocations: 206.8 kB / 0.9612 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.7273, allocations: 6.078 kB / 0.9612 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.7273, allocations: 35.25 kB / 0.9613 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.7273, allocations: 0 / 0.9613 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001247/0.7286, allocations: 358.4 kB / 0.9616 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.7286, allocations: 57.09 kB / 0.9617 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.7289, allocations: 341 kB / 0.962 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.7289, allocations: 26.83 kB / 0.962 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.729, allocations: 152.8 kB / 0.9622 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.7291, allocations: 27.7 kB / 0.9622 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.7291, allocations: 1.219 kB / 0.9622 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.7292, allocations: 338.5 kB / 0.9625 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.7296, allocations: 129.2 kB / 0.9626 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.73, allocations: 172.1 kB / 0.9628 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.7304, allocations: 128.5 kB / 0.9629 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.7304, allocations: 0 / 0.9629 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009321/0.7313, allocations: 346.6 kB / 0.9633 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.7315, allocations: 0.7049 MB / 0.9639 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.7315, allocations: 2.781 kB / 0.964 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.7315, allocations: 2.406 kB / 0.964 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.7319, allocations: 74.94 kB / 0.964 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7319, allocations: 2.406 kB / 0.964 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.7322, allocations: 37.06 kB / 0.9641 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.7322, allocations: 19.64 kB / 0.9641 GB, free: 72 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.7323, allocations: 3.531 kB / 0.9641 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009442/0.7332, allocations: 329.8 kB / 0.9644 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.7332, allocations: 2.031 kB / 0.9644 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-06/0.7332, allocations: 3 kB / 0.9644 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.7335, allocations: 60.64 kB / 0.9645 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7336, allocations: 6.531 kB / 0.9645 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.7338, allocations: 45.34 kB / 0.9645 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.7339, allocations: 14.45 kB / 0.9645 GB, free: 15.88 MB / 0.7325 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 (19): * Single equations (assignments): 18 * 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.0002119/0.7341, allocations: 236.2 kB / 0.9648 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.7342, allocations: 26.22 kB / 0.9648 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009678/0.7351, allocations: 286.1 kB / 0.965 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.7352, allocations: 1.031 kB / 0.9651 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7352, allocations: 1 kB / 0.9651 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.7352, allocations: 3.984 kB / 0.9651 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.7355, allocations: 292.3 kB / 0.9653 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.7355, allocations: 4.969 kB / 0.9653 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.7358, allocations: 47.08 kB / 0.9654 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.7358, allocations: 0.7812 kB / 0.9654 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.7358, allocations: 1.969 kB / 0.9654 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7359, allocations: 4.969 kB / 0.9654 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7359, allocations: 3.984 kB / 0.9654 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008607/0.7367, allocations: 362.2 kB / 0.9657 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.7369, allocations: 121.6 kB / 0.9659 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.7369, allocations: 5.031 kB / 0.9659 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.7372, allocations: 25.97 kB / 0.9659 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.7372, allocations: 3.812 kB / 0.9659 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.7373, allocations: 7.734 kB / 0.9659 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002587/0.7375, allocations: 245.3 kB / 0.9661 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7375, allocations: 0 / 0.9661 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007109/0.7382, allocations: 145.9 kB / 0.9663 GB, free: 14.62 MB / 0.7325 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 (10): * Single equations (assignments): 10 * 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.0005051/0.7387, allocations: 202 kB / 0.9665 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.7402, allocations: 421.4 kB / 0.9669 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7402, allocations: 4.781 kB / 0.9669 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.7406, allocations: 116.8 kB / 0.967 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.7411, allocations: 101.5 kB / 0.9671 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.7422, allocations: 0.5647 MB / 0.9676 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.7426, allocations: 0.7753 MB / 0.9684 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003812/0.7429, allocations: 81.41 kB / 0.9685 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.7431, allocations: 30.7 kB / 0.9685 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.7431, allocations: 0 / 0.9685 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.01151/0.7546, allocations: 6.275 MB / 0.9746 GB, free: 9.938 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches