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.001379/0.001379, allocations: 111 kB / 15.99 MB, free: 6.344 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.001376/0.001376, allocations: 199.5 kB / 16.91 MB, free: 6.184 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: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.307/2.307, allocations: 390.3 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 58.69 kB / 0.8127 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3207, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003424/0.3242, allocations: 2.095 MB / 0.9518 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003114/0.3273, allocations: 2.003 MB / 0.9538 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.3275, allocations: 4 kB / 0.9538 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.3283, allocations: 251.1 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0008054/0.3292, allocations: 275.3 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3302, allocations: 447.2 kB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006796/0.3309, allocations: 466.8 kB / 0.9552 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.331, allocations: 40.59 kB / 0.9552 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.3313, allocations: 171.4 kB / 0.9554 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.3316, allocations: 187.4 kB / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.3316, allocations: 15.94 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007045/0.3324, allocations: 447.2 kB / 0.956 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.3325, allocations: 95.69 kB / 0.9561 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.3326, allocations: 115.4 kB / 0.9562 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.3332, allocations: 419.1 kB / 0.9566 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3332, allocations: 4 kB / 0.9566 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3332, allocations: 0 / 0.9566 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.3333, allocations: 4 kB / 0.9566 GB, free: 2.211 MB / 0.7325 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.0009961/0.3343, allocations: 0.5878 MB / 0.9572 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3343, allocations: 8.031 kB / 0.9572 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009426/0.3353, allocations: 144.4 kB / 0.9573 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.3358, allocations: 332.2 kB / 0.9576 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3358, allocations: 8.375 kB / 0.9576 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.3358, allocations: 12.38 kB / 0.9576 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.3364, allocations: 201.6 kB / 0.9578 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3364, allocations: 0 / 0.9578 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.3364, allocations: 3.984 kB / 0.9578 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.3365, allocations: 4 kB / 0.9578 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007145/0.3372, allocations: 209.8 kB / 0.958 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.3382, allocations: 0.544 MB / 0.9586 GB, free: 36 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/0.3389, allocations: 198.5 kB / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.3393, allocations: 100.8 kB / 0.9589 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.3393, allocations: 4 kB / 0.9589 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3393, allocations: 42.69 kB / 0.9589 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3393, allocations: 0 / 0.9589 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.001223/0.3406, allocations: 341.2 kB / 0.9592 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.3406, allocations: 55.41 kB / 0.9593 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.341, allocations: 332.5 kB / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.341, allocations: 33.7 kB / 0.9596 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3411, allocations: 155.9 kB / 0.9598 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.3412, allocations: 35.55 kB / 0.9598 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3413, allocations: 53.69 kB / 0.9599 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3414, allocations: 334.8 kB / 0.9602 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.3419, allocations: 153.1 kB / 0.9603 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.3423, allocations: 202.7 kB / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.3432, allocations: 346.3 kB / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3432, allocations: 4 kB / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001042/0.3442, allocations: 409 kB / 0.9612 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3443, allocations: 4 kB / 0.9612 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.3443, allocations: 8.156 kB / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3443, allocations: 0 / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.3447, allocations: 63.95 kB / 0.9613 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3447, allocations: 11.88 kB / 0.9613 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.345, allocations: 47.72 kB / 0.9614 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.345, allocations: 15.98 kB / 0.9614 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004889/0.3455, allocations: 240 kB / 0.9616 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004149/0.346, allocations: 184 kB / 0.9618 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007499/0.3467, allocations: 298.6 kB / 0.9621 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.3467, allocations: 0 / 0.9621 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000921/0.3477, allocations: 365.2 kB / 0.9624 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.3477, allocations: 4 kB / 0.9624 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3477, allocations: 4 kB / 0.9624 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.3477, allocations: 4 kB / 0.9624 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.348, allocations: 59.95 kB / 0.9625 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.348, allocations: 4 kB / 0.9625 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.3483, allocations: 35.75 kB / 0.9625 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.3483, allocations: 19.92 kB / 0.9626 GB, free: 11.77 MB / 0.7481 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.0001401/0.3485, allocations: 188.3 kB / 0.9627 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.167e-05/0.3485, allocations: 27.62 kB / 0.9628 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009152/0.3495, allocations: 276.2 kB / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3495, allocations: 0 / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3495, allocations: 3.938 kB / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3495, allocations: 0 / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.3499, allocations: 286 kB / 0.9633 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3499, allocations: 0 / 0.9633 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.3501, allocations: 47.89 kB / 0.9633 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3501, allocations: 0 / 0.9633 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3502, allocations: 4 kB / 0.9633 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3502, allocations: 0 / 0.9633 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3502, allocations: 4.031 kB / 0.9634 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/0.351, allocations: 354.9 kB / 0.9637 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.3511, allocations: 120.7 kB / 0.9638 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.3512, allocations: 4 kB / 0.9638 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.3514, allocations: 19.98 kB / 0.9638 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.3515, allocations: 11.92 kB / 0.9638 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3515, allocations: 4 kB / 0.9638 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002586/0.3518, allocations: 247 kB / 0.9641 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.3518, allocations: 0 / 0.9641 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006128/0.3524, allocations: 147.9 kB / 0.9642 GB, free: 9.961 MB / 0.7481 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.0005778/0.353, allocations: 207 kB / 0.9644 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.3543, allocations: 440.1 kB / 0.9648 GB, free: 9.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3544, allocations: 4.188 kB / 0.9648 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.3547, allocations: 103.9 kB / 0.9649 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.3553, allocations: 111.7 kB / 0.965 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.3565, allocations: 0.5986 MB / 0.9656 GB, free: 8.477 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3568, allocations: 0.7756 MB / 0.9664 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.357, allocations: 31.42 kB / 0.9664 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/0.357, allocations: 0 / 0.9664 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of Templates: time 0.009118/0.3661, allocations: 5.522 MB / 0.9718 GB, free: 2.164 MB / 0.7481 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