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.001043/0.001043, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.008541/0.008541, allocations: 170.5 kB / 16.26 MB, free: 6.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: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.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.707/2.707, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005759/0.0005759, allocations: 12 kB / 0.8728 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7004/0.701, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00296/0.7041, allocations: 2.015 MB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006725/0.7108, allocations: 3.821 MB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.7112, allocations: 4 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005864/0.7171, allocations: 2.97 MB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.7181, allocations: 350.8 kB / 1.032 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.7193, allocations: 467.1 kB / 1.032 GB, free: 6.219 MB / 0.7794 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.0}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.005194/0.7245, allocations: 3.381 MB / 1.036 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.7247, allocations: 48.72 kB / 1.036 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.7252, allocations: 175.3 kB / 1.036 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004169/0.7256, allocations: 227.1 kB / 1.036 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.794e-05/0.7257, allocations: 8 kB / 1.036 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.7273, allocations: 0.7681 MB / 1.037 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.7275, allocations: 207.4 kB / 1.037 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.7278, allocations: 248.3 kB / 1.037 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.7293, allocations: 1.005 MB / 1.038 GB, free: 152 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7294, allocations: 7.984 kB / 1.038 GB, free: 144 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7294, allocations: 0 / 1.038 GB, free: 144 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.7294, allocations: 0 / 1.038 GB, free: 144 kB / 0.7794 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.001643/0.731, allocations: 0.8052 MB / 1.039 GB, free: 15.29 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.7311, allocations: 11.98 kB / 1.039 GB, free: 15.27 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.7325, allocations: 216.1 kB / 1.039 GB, free: 15.06 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.7346, allocations: 0.9559 MB / 1.04 GB, free: 14.07 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.7346, allocations: 12 kB / 1.04 GB, free: 14.05 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.7347, allocations: 16 kB / 1.04 GB, free: 14.04 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000619/0.7353, allocations: 265.9 kB / 1.041 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.7353, allocations: 0 / 1.041 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.7354, allocations: 8 kB / 1.041 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.7354, allocations: 0 / 1.041 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007236/0.7361, allocations: 250.6 kB / 1.041 GB, free: 13.52 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.7376, allocations: 0.8277 MB / 1.042 GB, free: 12.64 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007742/0.7384, allocations: 306.6 kB / 1.042 GB, free: 12.34 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.7387, allocations: 136.8 kB / 1.042 GB, free: 12.2 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.7388, allocations: 3.984 kB / 1.042 GB, free: 12.2 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.7388, allocations: 46.48 kB / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/0.7388, allocations: 0 / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.001312/0.7402, allocations: 456.7 kB / 1.042 GB, free: 11.69 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.7402, allocations: 51.41 kB / 1.043 GB, free: 11.62 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/0.7411, allocations: 0.7345 MB / 1.043 GB, free: 10.88 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.7411, allocations: 33.69 kB / 1.043 GB, free: 10.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.7413, allocations: 224.7 kB / 1.044 GB, free: 10.62 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.7414, allocations: 43.48 kB / 1.044 GB, free: 10.58 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.7415, allocations: 93.59 kB / 1.044 GB, free: 10.48 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7417, allocations: 370.8 kB / 1.044 GB, free: 10.11 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007108/0.7424, allocations: 441.2 kB / 1.044 GB, free: 9.676 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/0.7432, allocations: 0.5317 MB / 1.045 GB, free: 9.113 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.7445, allocations: 0.8819 MB / 1.046 GB, free: 8.207 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.7446, allocations: 0 / 1.046 GB, free: 8.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001786/0.7463, allocations: 1.092 MB / 1.047 GB, free: 7.105 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.7465, allocations: 144.1 kB / 1.047 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.7465, allocations: 4 kB / 1.047 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.7465, allocations: 3.984 kB / 1.047 GB, free: 6.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.747, allocations: 115.9 kB / 1.047 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.7471, allocations: 7.938 kB / 1.047 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.7476, allocations: 71.41 kB / 1.047 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/0.7477, allocations: 39.97 kB / 1.047 GB, free: 6.699 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.7477, allocations: 4 kB / 1.047 GB, free: 6.695 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001516/0.7492, allocations: 0.8549 MB / 1.048 GB, free: 5.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7492, allocations: 4 kB / 1.048 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.7492, allocations: 7.984 kB / 1.048 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.7497, allocations: 103.9 kB / 1.048 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7497, allocations: 4 kB / 1.048 GB, free: 5.723 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.7501, allocations: 63.66 kB / 1.048 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.7502, allocations: 27.98 kB / 1.048 GB, free: 5.633 MB / 0.795 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.0003292/0.7505, allocations: 312.9 kB / 1.049 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-05/0.7506, allocations: 55.19 kB / 1.049 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.7517, allocations: 378.5 kB / 1.049 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7517, allocations: 0 / 1.049 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.7517, allocations: 8 kB / 1.049 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7517, allocations: 0 / 1.049 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.7522, allocations: 397.4 kB / 1.049 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7522, allocations: 0 / 1.049 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.7525, allocations: 47.84 kB / 1.049 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.7525, allocations: 0 / 1.049 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.7525, allocations: 7.984 kB / 1.049 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.7525, allocations: 4 kB / 1.049 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7526, allocations: 0 / 1.049 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008915/0.7534, allocations: 430.6 kB / 1.05 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.7536, allocations: 160.3 kB / 1.05 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.7537, allocations: 3.938 kB / 1.05 GB, free: 3.762 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.754, allocations: 27.97 kB / 1.05 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.7541, allocations: 7.984 kB / 1.05 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.7541, allocations: 8 kB / 1.05 GB, free: 3.719 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006195/0.7547, allocations: 0.4989 MB / 1.051 GB, free: 3.227 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7547, allocations: 4 kB / 1.051 GB, free: 3.223 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001022/0.7558, allocations: 315.9 kB / 1.051 GB, free: 2.914 MB / 0.795 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.0009306/0.7567, allocations: 362.9 kB / 1.051 GB, free: 2.551 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002158/0.7589, allocations: 1.158 MB / 1.052 GB, free: 1.395 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.7589, allocations: 3.938 kB / 1.052 GB, free: 1.391 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.7593, allocations: 136.3 kB / 1.052 GB, free: 1.258 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000961/0.7603, allocations: 182.7 kB / 1.053 GB, free: 1.078 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.762, allocations: 1.079 MB / 1.054 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.7625, allocations: 0.8902 MB / 1.055 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007636/0.7633, allocations: 200.1 kB / 1.055 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.7635, allocations: 55.41 kB / 1.055 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of SimCode: time 6.51e-07/0.7635, allocations: 4 kB / 1.055 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of Templates: time 0.02466/0.7882, allocations: 11.81 MB / 1.066 GB, free: 3.109 MB / 0.8106 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=480 -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/jenkins/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