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.007541/0.007541, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001628/0.001627, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.413/1.413, allocations: 222.9 MB / 240.5 MB, free: 4.434 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.577/2.577, allocations: 437 MB / 0.7106 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.91 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7121, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004195/0.7163, allocations: 2.369 MB / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006371/0.7227, allocations: 3.879 MB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.7231, allocations: 8 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006022/0.7292, allocations: 2.974 MB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009525/0.7302, allocations: 362.8 kB / 1.027 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.7314, allocations: 459.2 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB [/var/lib/jenkins1/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.004944/0.7364, allocations: 3.377 MB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.7365, allocations: 36.73 kB / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.7369, allocations: 191.2 kB / 1.031 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.7373, allocations: 223.2 kB / 1.031 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.7374, allocations: 12 kB / 1.031 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.7388, allocations: 0.7681 MB / 1.032 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.7391, allocations: 203.4 kB / 1.032 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.7394, allocations: 230.6 kB / 1.032 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009923/0.7404, allocations: 0.721 MB / 1.033 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7404, allocations: 0 / 1.033 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7404, allocations: 0 / 1.033 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.298e-05/0.7404, allocations: 0 / 1.033 GB, free: 2.934 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.001617/0.742, allocations: 0.875 MB / 1.034 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.7421, allocations: 15.97 kB / 1.034 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.7434, allocations: 212 kB / 1.034 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.7454, allocations: 0.9598 MB / 1.035 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.7455, allocations: 11.98 kB / 1.035 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.7455, allocations: 11.94 kB / 1.035 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005765/0.7461, allocations: 257.4 kB / 1.035 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.7461, allocations: 3.984 kB / 1.035 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.7462, allocations: 4 kB / 1.035 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.7462, allocations: 4 kB / 1.035 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.7469, allocations: 239.8 kB / 1.035 GB, free: 264 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.7483, allocations: 0.8277 MB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007355/0.749, allocations: 306.6 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.7494, allocations: 136.7 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.7494, allocations: 0 / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.7494, allocations: 38.56 kB / 1.036 GB, free: 14.89 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 2.906e-06/0.7495, allocations: 3.984 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.001234/0.7507, allocations: 440.6 kB / 1.037 GB, free: 14.45 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.7507, allocations: 51.41 kB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008061/0.7516, allocations: 0.742 MB / 1.038 GB, free: 13.63 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.7516, allocations: 29.7 kB / 1.038 GB, free: 13.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.7518, allocations: 224.8 kB / 1.038 GB, free: 13.38 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.7519, allocations: 47.39 kB / 1.038 GB, free: 13.33 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.7521, allocations: 158 kB / 1.038 GB, free: 13.17 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.7523, allocations: 370.8 kB / 1.038 GB, free: 12.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000674/0.7529, allocations: 446.9 kB / 1.039 GB, free: 12.36 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007372/0.7537, allocations: 0.5238 MB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.755, allocations: 0.8664 MB / 1.04 GB, free: 10.91 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.755, allocations: 7.938 kB / 1.04 GB, free: 10.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001667/0.7566, allocations: 1.076 MB / 1.041 GB, free: 9.816 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7567, allocations: 8 kB / 1.041 GB, free: 9.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.7567, allocations: 0 / 1.041 GB, free: 9.809 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.7567, allocations: 4 kB / 1.041 GB, free: 9.805 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.7572, allocations: 107.9 kB / 1.041 GB, free: 9.699 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.7572, allocations: 7.938 kB / 1.041 GB, free: 9.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.7577, allocations: 83.39 kB / 1.041 GB, free: 9.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.7578, allocations: 28 kB / 1.042 GB, free: 9.582 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008054/0.7586, allocations: 0.5443 MB / 1.042 GB, free: 9.031 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006596/0.7593, allocations: 464.5 kB / 1.042 GB, free: 8.543 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001133/0.7604, allocations: 0.7276 MB / 1.043 GB, free: 7.801 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.227e-06/0.7604, allocations: 0 / 1.043 GB, free: 7.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001503/0.7619, allocations: 0.9265 MB / 1.044 GB, free: 6.867 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.762, allocations: 4 kB / 1.044 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.762, allocations: 7.984 kB / 1.044 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.762, allocations: 4 kB / 1.044 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.7624, allocations: 107.8 kB / 1.044 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.7624, allocations: 8 kB / 1.044 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.7629, allocations: 63.58 kB / 1.044 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.7629, allocations: 24 kB / 1.044 GB, free: 6.652 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.000166/0.7631, allocations: 200.1 kB / 1.045 GB, free: 6.449 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.7632, allocations: 55.25 kB / 1.045 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.7642, allocations: 362.5 kB / 1.045 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.7642, allocations: 4 kB / 1.045 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.7642, allocations: 0 / 1.045 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.7643, allocations: 0 / 1.045 GB, free: 6.023 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.7648, allocations: 409.3 kB / 1.045 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.7648, allocations: 4 kB / 1.045 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.7651, allocations: 43.91 kB / 1.045 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.7651, allocations: 0 / 1.045 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.7651, allocations: 7.984 kB / 1.045 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.7651, allocations: 0 / 1.045 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7651, allocations: 0 / 1.045 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/0.7659, allocations: 430.5 kB / 1.046 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.7661, allocations: 148.3 kB / 1.046 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-05/0.7662, allocations: 4 kB / 1.046 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.7665, allocations: 15.98 kB / 1.046 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.7666, allocations: 15.98 kB / 1.046 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.7666, allocations: 11.98 kB / 1.046 GB, free: 4.871 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005804/0.7672, allocations: 0.495 MB / 1.046 GB, free: 4.379 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7672, allocations: 0 / 1.046 GB, free: 4.379 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001005/0.7682, allocations: 311.9 kB / 1.047 GB, free: 4.074 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.0009317/0.7691, allocations: 374.8 kB / 1.047 GB, free: 3.699 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.7711, allocations: 1.151 MB / 1.048 GB, free: 2.551 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/0.7712, allocations: 4 kB / 1.048 GB, free: 2.547 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.7715, allocations: 136.3 kB / 1.048 GB, free: 2.414 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000876/0.7724, allocations: 186.6 kB / 1.049 GB, free: 2.238 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.7741, allocations: 1.068 MB / 1.05 GB, free: 1.137 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.7745, allocations: 0.882 MB / 1.05 GB, free: 232 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.7748, allocations: 63.39 kB / 1.05 GB, free: 168 kB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.7748, allocations: 0 / 1.05 GB, free: 168 kB / 0.795 GB Notification: Performance of Templates: time 0.01636/0.7911, allocations: 9.907 MB / 1.06 GB, free: 6.32 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