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.0009625/0.0009626, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 178.4 kB / 16.92 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.27 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.459/2.459, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003619, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7012/0.7016, allocations: 142.4 MB / 0.9557 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002218/0.7039, allocations: 1.744 MB / 0.9574 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.7068, allocations: 2.016 MB / 0.9594 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.707, allocations: 8.25 kB / 0.9594 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006792/0.7077, allocations: 247 kB / 0.9596 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006271/0.7084, allocations: 267.9 kB / 0.9599 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.7094, allocations: 425.1 kB / 0.9603 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007194/0.7101, allocations: 0.5792 MB / 0.9608 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.7102, allocations: 38.84 kB / 0.9609 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.7105, allocations: 144.3 kB / 0.961 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.7107, allocations: 176.4 kB / 0.9612 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.7108, allocations: 6.875 kB / 0.9612 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007063/0.7115, allocations: 437.8 kB / 0.9616 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.7116, allocations: 87.34 kB / 0.9617 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.7117, allocations: 132.8 kB / 0.9618 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.7122, allocations: 411.4 kB / 0.9622 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7122, allocations: 1.125 kB / 0.9622 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7122, allocations: 3.938 kB / 0.9622 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.7122, allocations: 0 / 0.9622 GB, free: 2.852 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.0008259/0.7131, allocations: 0.5506 MB / 0.9628 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.7131, allocations: 9.719 kB / 0.9628 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009066/0.714, allocations: 131.2 kB / 0.9629 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.7145, allocations: 344.5 kB / 0.9632 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.7145, allocations: 8.094 kB / 0.9632 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.7145, allocations: 7.25 kB / 0.9632 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/0.7151, allocations: 211.6 kB / 0.9634 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.7151, allocations: 0 / 0.9634 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.7151, allocations: 5.031 kB / 0.9634 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.7152, allocations: 5.953 kB / 0.9634 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.7159, allocations: 216.9 kB / 0.9637 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009153/0.7168, allocations: 0.5438 MB / 0.9642 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.7175, allocations: 215.2 kB / 0.9644 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.7179, allocations: 105.3 kB / 0.9645 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.718, allocations: 6.281 kB / 0.9645 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.718, allocations: 30.56 kB / 0.9645 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.718, allocations: 1.031 kB / 0.9645 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001243/0.7192, allocations: 368 kB / 0.9649 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.7193, allocations: 51.41 kB / 0.9649 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.7196, allocations: 344.3 kB / 0.9653 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.7196, allocations: 25.7 kB / 0.9653 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.7197, allocations: 154 kB / 0.9654 GB, free: 452 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.7198, allocations: 31.67 kB / 0.9655 GB, free: 424 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.7198, allocations: 24.3 kB / 0.9655 GB, free: 400 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.7199, allocations: 341.9 kB / 0.9658 GB, free: 56 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.7204, allocations: 154.3 kB / 0.966 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/0.7209, allocations: 207.7 kB / 0.9662 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.7219, allocations: 352.9 kB / 0.9665 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7219, allocations: 5.062 kB / 0.9665 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001154/0.7231, allocations: 423.2 kB / 0.9669 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.7232, allocations: 138.1 kB / 0.967 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.7232, allocations: 6.719 kB / 0.967 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.7232, allocations: 2 kB / 0.967 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.7236, allocations: 66.7 kB / 0.9671 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.7236, allocations: 6.297 kB / 0.9671 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.7239, allocations: 37.45 kB / 0.9671 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.724, allocations: 15.95 kB / 0.9672 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.133e-06/0.724, allocations: 8 kB / 0.9672 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009653/0.725, allocations: 326.6 kB / 0.9675 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.725, allocations: 2.625 kB / 0.9675 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/0.725, allocations: 2.031 kB / 0.9675 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.7253, allocations: 60.7 kB / 0.9675 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7253, allocations: 11.2 kB / 0.9675 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.7256, allocations: 40.09 kB / 0.9676 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.7256, allocations: 10.12 kB / 0.9676 GB, free: 15.07 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.0002028/0.7258, allocations: 240.5 kB / 0.9678 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.7259, allocations: 26.84 kB / 0.9679 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009683/0.7269, allocations: 290.2 kB / 0.9681 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.7269, allocations: 5 kB / 0.9681 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.7269, allocations: 1.344 kB / 0.9681 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.7269, allocations: 0 / 0.9681 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.7273, allocations: 296.6 kB / 0.9684 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7273, allocations: 0 / 0.9684 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.7276, allocations: 47.77 kB / 0.9685 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7276, allocations: 0.9688 kB / 0.9685 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.7276, allocations: 1.031 kB / 0.9685 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7276, allocations: 1.219 kB / 0.9685 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7276, allocations: 0 / 0.9685 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.7285, allocations: 371.4 kB / 0.9688 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.7286, allocations: 105.9 kB / 0.9689 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.7287, allocations: 5 kB / 0.9689 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.7289, allocations: 29.09 kB / 0.969 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.729, allocations: 8.172 kB / 0.969 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.729, allocations: 7.75 kB / 0.969 GB, free: 14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000262/0.7293, allocations: 243.7 kB / 0.9692 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7293, allocations: 0 / 0.9692 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006951/0.73, allocations: 157.7 kB / 0.9694 GB, free: 13.8 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.0004534/0.7305, allocations: 194.1 kB / 0.9695 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.7319, allocations: 462.2 kB / 0.97 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7319, allocations: 448 / 0.97 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.7323, allocations: 117 kB / 0.9701 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.7329, allocations: 108.9 kB / 0.9702 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.734, allocations: 0.6136 MB / 0.9708 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.7344, allocations: 0.7696 MB / 0.9715 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.7346, allocations: 35.08 kB / 0.9716 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.7346, allocations: 0 / 0.9716 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.009801/0.7444, allocations: 5.471 MB / 0.9769 GB, free: 9.215 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/jenkins1/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