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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001048/0.001048, allocations: 99.58 kB / 16.02 MB, free: 76 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.001207/0.001207, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.444/1.444, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 12.28 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6468/0.6471, allocations: 153.8 MB / 1.024 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002684/0.6499, allocations: 2.011 MB / 1.026 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00623/0.6561, allocations: 3.821 MB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.6566, allocations: 7.938 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00572/0.6623, allocations: 2.97 MB / 1.032 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009902/0.6633, allocations: 354.8 kB / 1.033 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.6645, allocations: 456.4 kB / 1.033 GB, free: 6.488 MB / 0.7794 GB [/var/lib/jenkins1/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.004817/0.6693, allocations: 3.378 MB / 1.036 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.6695, allocations: 40.72 kB / 1.036 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.6698, allocations: 183.2 kB / 1.037 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.6701, allocations: 231.1 kB / 1.037 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.6702, allocations: 8 kB / 1.037 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.6717, allocations: 0.772 MB / 1.038 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.6719, allocations: 207.4 kB / 1.038 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.6721, allocations: 244.3 kB / 1.038 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009008/0.673, allocations: 0.7092 MB / 1.039 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.673, allocations: 0 / 1.039 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.457e-06/0.673, allocations: 0 / 1.039 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.6731, allocations: 7.875 kB / 1.039 GB, free: 0.707 MB / 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.001287/0.6744, allocations: 0.813 MB / 1.039 GB, free: 15.84 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.6744, allocations: 11.98 kB / 1.039 GB, free: 15.83 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.6757, allocations: 212.1 kB / 1.04 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.6776, allocations: 0.9481 MB / 1.041 GB, free: 14.64 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.6776, allocations: 15.98 kB / 1.041 GB, free: 14.62 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.6777, allocations: 12 kB / 1.041 GB, free: 14.61 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.6783, allocations: 268.8 kB / 1.041 GB, free: 14.34 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.6783, allocations: 0 / 1.041 GB, free: 14.34 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.6783, allocations: 4 kB / 1.041 GB, free: 14.34 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.6783, allocations: 7.938 kB / 1.041 GB, free: 14.33 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007241/0.6791, allocations: 247.8 kB / 1.041 GB, free: 14.09 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.6805, allocations: 0.8276 MB / 1.042 GB, free: 13.21 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007846/0.6813, allocations: 318.6 kB / 1.042 GB, free: 12.89 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.6816, allocations: 124.8 kB / 1.042 GB, free: 12.77 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.6817, allocations: 11.98 kB / 1.042 GB, free: 12.75 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.6817, allocations: 34.56 kB / 1.042 GB, free: 12.71 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.923e-06/0.6817, allocations: 0 / 1.042 GB, free: 12.71 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.001298/0.683, allocations: 452.7 kB / 1.043 GB, free: 12.26 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.6831, allocations: 59.34 kB / 1.043 GB, free: 12.19 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008406/0.6839, allocations: 0.7381 MB / 1.044 GB, free: 11.45 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.684, allocations: 33.7 kB / 1.044 GB, free: 11.41 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.6842, allocations: 224.7 kB / 1.044 GB, free: 11.18 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.6842, allocations: 39.48 kB / 1.044 GB, free: 11.14 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.6844, allocations: 89.66 kB / 1.044 GB, free: 11.05 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6845, allocations: 370.8 kB / 1.044 GB, free: 10.68 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000715/0.6852, allocations: 445.2 kB / 1.045 GB, free: 10.24 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007919/0.686, allocations: 0.5278 MB / 1.045 GB, free: 9.684 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.6875, allocations: 0.8819 MB / 1.046 GB, free: 8.777 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.6875, allocations: 0 / 1.046 GB, free: 8.777 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001757/0.6892, allocations: 1.096 MB / 1.047 GB, free: 7.672 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.6894, allocations: 144.1 kB / 1.047 GB, free: 7.504 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.6894, allocations: 0 / 1.047 GB, free: 7.504 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6894, allocations: 4 kB / 1.047 GB, free: 7.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.6899, allocations: 119.8 kB / 1.047 GB, free: 7.383 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.6899, allocations: 11.94 kB / 1.048 GB, free: 7.371 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.6904, allocations: 71.39 kB / 1.048 GB, free: 7.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/0.6905, allocations: 35.97 kB / 1.048 GB, free: 7.266 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.6905, allocations: 4 kB / 1.048 GB, free: 7.262 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001471/0.692, allocations: 0.8588 MB / 1.048 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.692, allocations: 0 / 1.048 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/0.692, allocations: 7.938 kB / 1.048 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.6924, allocations: 111.9 kB / 1.049 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6925, allocations: 4 kB / 1.049 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.6929, allocations: 59.64 kB / 1.049 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.6929, allocations: 28 kB / 1.049 GB, free: 6.195 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.0003544/0.6933, allocations: 312.9 kB / 1.049 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.6934, allocations: 55.19 kB / 1.049 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.6944, allocations: 358.6 kB / 1.049 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6944, allocations: 0 / 1.049 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.6944, allocations: 7.984 kB / 1.049 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.6944, allocations: 3.984 kB / 1.049 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.695, allocations: 397.4 kB / 1.05 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.695, allocations: 3.938 kB / 1.05 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.6953, allocations: 55.83 kB / 1.05 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6953, allocations: 4 kB / 1.05 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/0.6953, allocations: 0 / 1.05 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.6953, allocations: 4 kB / 1.05 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6953, allocations: 3.938 kB / 1.05 GB, free: 4.945 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008705/0.6962, allocations: 434.6 kB / 1.05 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.6964, allocations: 152.3 kB / 1.05 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.6964, allocations: 4 kB / 1.05 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.6967, allocations: 31.97 kB / 1.05 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.6968, allocations: 11.98 kB / 1.05 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.6968, allocations: 8 kB / 1.05 GB, free: 4.281 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006101/0.6974, allocations: 0.4912 MB / 1.051 GB, free: 3.797 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6974, allocations: 0 / 1.051 GB, free: 3.797 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009946/0.6984, allocations: 315.9 kB / 1.051 GB, free: 3.488 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.0009367/0.6994, allocations: 374.8 kB / 1.052 GB, free: 3.113 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002127/0.7015, allocations: 1.155 MB / 1.053 GB, free: 1.961 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.7016, allocations: 4.188 kB / 1.053 GB, free: 1.957 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.7019, allocations: 139.8 kB / 1.053 GB, free: 1.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.703, allocations: 187 kB / 1.053 GB, free: 1.641 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.7048, allocations: 1.093 MB / 1.054 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.7053, allocations: 0.8936 MB / 1.055 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.7056, allocations: 51.41 kB / 1.055 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/0.7056, allocations: 4 kB / 1.055 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of Templates: time 0.01699/0.7226, allocations: 9.846 MB / 1.065 GB, free: 5.762 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/jenkins1/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