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.001514/0.001514, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001594/0.001594, allocations: 191.2 kB / 16.26 MB, free: 6.621 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.471/1.471, allocations: 222.9 MB / 239.9 MB, free: 4.488 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.806/2.806, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001969, allocations: 67.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/0.6845, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00391/0.6884, allocations: 2.358 MB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006333/0.6948, allocations: 3.779 MB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.695, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006021/0.7011, allocations: 3.054 MB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009304/0.702, allocations: 374.8 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.7032, allocations: 476.4 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.004808/0.7081, allocations: 3.28 MB / 1.03 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.7082, allocations: 48.73 kB / 1.03 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.7086, allocations: 207.3 kB / 1.03 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.7089, allocations: 239.1 kB / 1.03 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.709, allocations: 19.94 kB / 1.03 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.7103, allocations: 0.7447 MB / 1.031 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.7105, allocations: 215.4 kB / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.7108, allocations: 234.6 kB / 1.031 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.7122, allocations: 1.028 MB / 1.032 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.7122, allocations: 4 kB / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.949e-06/0.7122, allocations: 0 / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.7122, allocations: 3.938 kB / 1.032 GB, free: 2.648 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.001482/0.7137, allocations: 0.875 MB / 1.033 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.7137, allocations: 19.98 kB / 1.033 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.7151, allocations: 204 kB / 1.034 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.717, allocations: 0.9599 MB / 1.034 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.7171, allocations: 12 kB / 1.034 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.7172, allocations: 15.98 kB / 1.034 GB, free: 488 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.7178, allocations: 261.4 kB / 1.035 GB, free: 224 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.7178, allocations: 4 kB / 1.035 GB, free: 220 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.7179, allocations: 4 kB / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.7179, allocations: 7.938 kB / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/0.7186, allocations: 235.9 kB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.7201, allocations: 0.8276 MB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.7209, allocations: 302.6 kB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.7213, allocations: 128.8 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.7213, allocations: 0 / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.7214, allocations: 38.56 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7214, allocations: 4 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.00132/0.7227, allocations: 436.6 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.7228, allocations: 59.34 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009292/0.7237, allocations: 0.7381 MB / 1.037 GB, free: 13.36 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.7238, allocations: 33.7 kB / 1.037 GB, free: 13.32 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.724, allocations: 228.7 kB / 1.038 GB, free: 13.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.7241, allocations: 43.45 kB / 1.038 GB, free: 13.05 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.7243, allocations: 154.3 kB / 1.038 GB, free: 12.89 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.7245, allocations: 366.8 kB / 1.038 GB, free: 12.53 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/0.7253, allocations: 450.9 kB / 1.039 GB, free: 12.08 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000832/0.7261, allocations: 0.5316 MB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.7276, allocations: 0.8702 MB / 1.04 GB, free: 10.62 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7277, allocations: 4 kB / 1.04 GB, free: 10.62 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001948/0.7296, allocations: 1.072 MB / 1.041 GB, free: 9.539 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.7297, allocations: 8 kB / 1.041 GB, free: 9.531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.7297, allocations: 0 / 1.041 GB, free: 9.531 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.7297, allocations: 4 kB / 1.041 GB, free: 9.527 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.7302, allocations: 115.9 kB / 1.041 GB, free: 9.414 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.7302, allocations: 4 kB / 1.041 GB, free: 9.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/0.7307, allocations: 71.41 kB / 1.041 GB, free: 9.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.7308, allocations: 31.97 kB / 1.041 GB, free: 9.309 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008967/0.7317, allocations: 0.5443 MB / 1.042 GB, free: 8.758 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007737/0.7325, allocations: 464.4 kB / 1.042 GB, free: 8.27 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00126/0.7337, allocations: 0.7392 MB / 1.043 GB, free: 7.516 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.7338, allocations: 0 / 1.043 GB, free: 7.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001661/0.7354, allocations: 0.9221 MB / 1.044 GB, free: 6.586 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.7355, allocations: 4 kB / 1.044 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.7355, allocations: 4 kB / 1.044 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.7355, allocations: 4.125 kB / 1.044 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.7359, allocations: 111.8 kB / 1.044 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.736, allocations: 8 kB / 1.044 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004736/0.7364, allocations: 63.64 kB / 1.044 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.7365, allocations: 20 kB / 1.044 GB, free: 6.375 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.0002726/0.7368, allocations: 204.7 kB / 1.044 GB, free: 6.168 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/0.7369, allocations: 55.19 kB / 1.044 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.738, allocations: 354.6 kB / 1.045 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.738, allocations: 8 kB / 1.045 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.738, allocations: 3.938 kB / 1.045 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.738, allocations: 0 / 1.045 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005924/0.7386, allocations: 401.3 kB / 1.045 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.7386, allocations: 4 kB / 1.045 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.7389, allocations: 35.97 kB / 1.045 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.7389, allocations: 0 / 1.045 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.7389, allocations: 15.98 kB / 1.045 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.739, allocations: 3.938 kB / 1.045 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.739, allocations: 0 / 1.045 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.7398, allocations: 422.6 kB / 1.046 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.74, allocations: 144.3 kB / 1.046 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.7401, allocations: 4 kB / 1.046 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.7404, allocations: 27.97 kB / 1.046 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.7405, allocations: 8 kB / 1.046 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.7405, allocations: 11.98 kB / 1.046 GB, free: 4.602 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006143/0.7411, allocations: 0.4912 MB / 1.046 GB, free: 4.113 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7411, allocations: 3.938 kB / 1.046 GB, free: 4.109 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001007/0.7421, allocations: 315.9 kB / 1.047 GB, free: 3.801 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.0008246/0.743, allocations: 374.9 kB / 1.047 GB, free: 3.426 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.7452, allocations: 1.158 MB / 1.048 GB, free: 2.27 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7452, allocations: 0 / 1.048 GB, free: 2.27 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.7456, allocations: 132.3 kB / 1.048 GB, free: 2.141 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009054/0.7465, allocations: 215.9 kB / 1.048 GB, free: 1.941 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.7482, allocations: 1.056 MB / 1.049 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.7488, allocations: 0.8934 MB / 1.05 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007286/0.7496, allocations: 192.2 kB / 1.05 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.7498, allocations: 51.41 kB / 1.05 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of SimCode: time 6.42e-07/0.7498, allocations: 4 kB / 1.05 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of Templates: time 0.02448/0.7743, allocations: 12.21 MB / 1.062 GB, free: 3.613 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=400 -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