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.001119/0.001123, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001391/0.001391, allocations: 192.8 kB / 16.14 MB, free: 6.719 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.644/2.644, allocations: 437 MB / 0.7099 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.89 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/0.6703, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003817/0.6742, allocations: 2.369 MB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006089/0.6803, allocations: 3.883 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.6806, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00617/0.6868, allocations: 2.978 MB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.6879, allocations: 354.8 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.6892, allocations: 455.3 kB / 1.026 GB, free: 8.73 MB / 0.7794 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.00497/0.6942, allocations: 3.377 MB / 1.03 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.6943, allocations: 48.72 kB / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.6946, allocations: 183.2 kB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.6949, allocations: 219.2 kB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.6949, allocations: 12 kB / 1.03 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.6963, allocations: 0.772 MB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.6965, allocations: 211.3 kB / 1.031 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.6967, allocations: 226.6 kB / 1.031 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.698, allocations: 1.016 MB / 1.032 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.698, allocations: 0 / 1.032 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.21e-07/0.698, allocations: 0 / 1.032 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.698, allocations: 0 / 1.032 GB, free: 2.668 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.00153/0.6995, allocations: 0.8769 MB / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.6996, allocations: 15.98 kB / 1.033 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.7009, allocations: 208 kB / 1.033 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.7028, allocations: 0.956 MB / 1.034 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.7028, allocations: 19.94 kB / 1.034 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.7029, allocations: 12 kB / 1.034 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.7034, allocations: 253.4 kB / 1.035 GB, free: 248 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.7035, allocations: 7.938 kB / 1.035 GB, free: 240 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.7035, allocations: 8 kB / 1.035 GB, free: 232 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.7035, allocations: 0 / 1.035 GB, free: 232 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006837/0.7042, allocations: 235.9 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.7055, allocations: 0.8237 MB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.7063, allocations: 306.6 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.7066, allocations: 136.7 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.7067, allocations: 7.984 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.7067, allocations: 30.56 kB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.7067, allocations: 4 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.001188/0.7079, allocations: 444.6 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.708, allocations: 63.33 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007413/0.7087, allocations: 0.7342 MB / 1.037 GB, free: 13.37 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.7087, allocations: 25.7 kB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.7089, allocations: 228.8 kB / 1.038 GB, free: 13.11 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.709, allocations: 43.39 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.7092, allocations: 158 kB / 1.038 GB, free: 12.91 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7093, allocations: 366.8 kB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006636/0.71, allocations: 442.9 kB / 1.038 GB, free: 12.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.7107, allocations: 0.5355 MB / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.712, allocations: 0.8664 MB / 1.04 GB, free: 10.64 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.712, allocations: 4 kB / 1.04 GB, free: 10.64 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001605/0.7136, allocations: 1.08 MB / 1.041 GB, free: 9.551 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.7136, allocations: 4 kB / 1.041 GB, free: 9.547 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.7137, allocations: 4 kB / 1.041 GB, free: 9.543 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.7137, allocations: 4 kB / 1.041 GB, free: 9.539 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.7142, allocations: 119.9 kB / 1.041 GB, free: 9.422 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.7142, allocations: 4 kB / 1.041 GB, free: 9.418 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.7146, allocations: 63.41 kB / 1.041 GB, free: 9.355 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.7147, allocations: 39.98 kB / 1.041 GB, free: 9.316 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007521/0.7154, allocations: 0.5368 MB / 1.042 GB, free: 8.773 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006331/0.7161, allocations: 468.5 kB / 1.042 GB, free: 8.281 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001083/0.7171, allocations: 0.7276 MB / 1.043 GB, free: 7.539 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.365e-06/0.7172, allocations: 3.938 kB / 1.043 GB, free: 7.535 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001474/0.7186, allocations: 0.9221 MB / 1.044 GB, free: 6.605 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7187, allocations: 8 kB / 1.044 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.7187, allocations: 0 / 1.044 GB, free: 6.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/0.7187, allocations: 4.156 kB / 1.044 GB, free: 6.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.7191, allocations: 107.9 kB / 1.044 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.7191, allocations: 7.984 kB / 1.044 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.7195, allocations: 59.59 kB / 1.044 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.7196, allocations: 27.98 kB / 1.044 GB, free: 6.395 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.0001436/0.7197, allocations: 204.1 kB / 1.044 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/0.7198, allocations: 59.19 kB / 1.044 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00093/0.7208, allocations: 354.6 kB / 1.045 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.7208, allocations: 0 / 1.045 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.7208, allocations: 0 / 1.045 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.7208, allocations: 0 / 1.045 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.7212, allocations: 409.3 kB / 1.045 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.7213, allocations: 3.938 kB / 1.045 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.7215, allocations: 39.95 kB / 1.045 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.7215, allocations: 4 kB / 1.045 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.7216, allocations: 8 kB / 1.045 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7216, allocations: 0 / 1.045 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.7216, allocations: 8 kB / 1.045 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007991/0.7224, allocations: 430.6 kB / 1.045 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.7225, allocations: 148.3 kB / 1.046 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.7226, allocations: 4 kB / 1.046 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.7229, allocations: 23.97 kB / 1.046 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.723, allocations: 15.92 kB / 1.046 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.723, allocations: 12 kB / 1.046 GB, free: 4.602 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005222/0.7235, allocations: 0.4911 MB / 1.046 GB, free: 4.113 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7235, allocations: 0 / 1.046 GB, free: 4.113 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009009/0.7244, allocations: 315.9 kB / 1.046 GB, free: 3.805 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.0007396/0.7252, allocations: 374.9 kB / 1.047 GB, free: 3.43 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.7271, allocations: 1.151 MB / 1.048 GB, free: 2.281 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7271, allocations: 0 / 1.048 GB, free: 2.281 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.7274, allocations: 128.4 kB / 1.048 GB, free: 2.156 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008088/0.7283, allocations: 182.7 kB / 1.048 GB, free: 1.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.7297, allocations: 1.073 MB / 1.049 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.7302, allocations: 0.8858 MB / 1.05 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006635/0.7309, allocations: 196.2 kB / 1.05 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.7311, allocations: 47.42 kB / 1.05 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.7311, allocations: 4 kB / 1.05 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of Templates: time 0.01888/0.7499, allocations: 11.92 MB / 1.062 GB, free: 3.926 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