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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001139/0.001139, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008326/0.008326, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 12 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6819/0.6822, allocations: 142.4 MB / 0.955 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002043/0.6843, allocations: 1.741 MB / 0.9567 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002997/0.6873, allocations: 2.022 MB / 0.9587 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.6876, allocations: 6.344 kB / 0.9587 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000787/0.6884, allocations: 235.8 kB / 0.9589 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007284/0.6891, allocations: 271.8 kB / 0.9592 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009377/0.6901, allocations: 427.7 kB / 0.9596 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007329/0.6908, allocations: 0.5783 MB / 0.9602 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.6909, allocations: 46.77 kB / 0.9602 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.6912, allocations: 140.9 kB / 0.9604 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.6915, allocations: 172.5 kB / 0.9605 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.6915, allocations: 5.938 kB / 0.9605 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007142/0.6923, allocations: 435.8 kB / 0.9609 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.6924, allocations: 90.44 kB / 0.961 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.6925, allocations: 137.3 kB / 0.9612 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007214/0.6932, allocations: 0.5658 MB / 0.9617 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6932, allocations: 0 / 0.9617 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6932, allocations: 1.031 kB / 0.9617 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.6933, allocations: 0 / 0.9617 GB, free: 2.867 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.0008097/0.6941, allocations: 0.5611 MB / 0.9623 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.6941, allocations: 9.656 kB / 0.9623 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.6951, allocations: 132.2 kB / 0.9624 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.6956, allocations: 339.7 kB / 0.9627 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.6956, allocations: 8.688 kB / 0.9627 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.6956, allocations: 11.59 kB / 0.9627 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.6963, allocations: 209.2 kB / 0.9629 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6963, allocations: 0 / 0.9629 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.6963, allocations: 1.344 kB / 0.9629 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6963, allocations: 1.688 kB / 0.9629 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007686/0.6971, allocations: 215.9 kB / 0.9631 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009314/0.698, allocations: 0.5406 MB / 0.9637 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/0.6988, allocations: 212.1 kB / 0.9639 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.6991, allocations: 112.4 kB / 0.964 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.6992, allocations: 9.75 kB / 0.964 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.6992, allocations: 35.59 kB / 0.964 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.6992, allocations: 0 / 0.964 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001348/0.7006, allocations: 370.4 kB / 0.9644 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.7006, allocations: 53.28 kB / 0.9644 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.7009, allocations: 339.1 kB / 0.9648 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.701, allocations: 30.67 kB / 0.9648 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.7011, allocations: 149.6 kB / 0.9649 GB, free: 460 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.7011, allocations: 27.5 kB / 0.965 GB, free: 436 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.7011, allocations: 28.55 kB / 0.965 GB, free: 408 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.7012, allocations: 342 kB / 0.9653 GB, free: 64 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.7017, allocations: 153.9 kB / 0.9655 GB, free: 0 / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.7022, allocations: 200.3 kB / 0.9656 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009822/0.7032, allocations: 359.8 kB / 0.966 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7032, allocations: 0.875 kB / 0.966 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001173/0.7044, allocations: 418.2 kB / 0.9664 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.37e-05/0.7045, allocations: 134.1 kB / 0.9665 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.7045, allocations: 5.906 kB / 0.9665 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.7045, allocations: 3.094 kB / 0.9665 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.7049, allocations: 74.38 kB / 0.9666 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.705, allocations: 2.375 kB / 0.9666 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.7053, allocations: 37.75 kB / 0.9666 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.7053, allocations: 23.11 kB / 0.9667 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.7054, allocations: 7.875 kB / 0.9667 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001021/0.7064, allocations: 329 kB / 0.967 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.7064, allocations: 6.031 kB / 0.967 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/0.7064, allocations: 3.312 kB / 0.967 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.7068, allocations: 63.95 kB / 0.967 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.7068, allocations: 6.859 kB / 0.9671 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.7071, allocations: 37.48 kB / 0.9671 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.7071, allocations: 17.17 kB / 0.9671 GB, free: 15.08 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.7073, allocations: 232.9 kB / 0.9673 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.675e-05/0.7074, allocations: 27.19 kB / 0.9674 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.7085, allocations: 293.9 kB / 0.9676 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.7085, allocations: 1.094 kB / 0.9676 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7085, allocations: 4.969 kB / 0.9676 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.7085, allocations: 3.984 kB / 0.9676 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.7089, allocations: 284.6 kB / 0.9679 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7089, allocations: 0 / 0.9679 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.7092, allocations: 48.2 kB / 0.968 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.7092, allocations: 0 / 0.968 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.7092, allocations: 2.281 kB / 0.968 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.7092, allocations: 1.156 kB / 0.968 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7092, allocations: 0 / 0.968 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009132/0.7101, allocations: 366.4 kB / 0.9683 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.7103, allocations: 113.9 kB / 0.9684 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.7103, allocations: 1 kB / 0.9684 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.7106, allocations: 29.14 kB / 0.9684 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.7106, allocations: 12.95 kB / 0.9685 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.7107, allocations: 6.578 kB / 0.9685 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002638/0.7109, allocations: 244.4 kB / 0.9687 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7109, allocations: 0 / 0.9687 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006674/0.7116, allocations: 158.5 kB / 0.9689 GB, free: 13.82 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 (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.000484/0.7121, allocations: 193.6 kB / 0.969 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.7136, allocations: 457.5 kB / 0.9695 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7137, allocations: 448 / 0.9695 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.7141, allocations: 117.4 kB / 0.9696 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.7147, allocations: 98.95 kB / 0.9697 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.7158, allocations: 0.5734 MB / 0.9702 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.7162, allocations: 0.7693 MB / 0.971 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003737/0.7166, allocations: 86.58 kB / 0.9711 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.7167, allocations: 29.44 kB / 0.9711 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.7167, allocations: 3.938 kB / 0.9711 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.01364/0.7304, allocations: 6.437 MB / 0.9774 GB, free: 8.066 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches