Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0007693/0.0007692, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.00474/0.00474, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 462.6 MB / 0.7363 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 8.938 kB / 0.9027 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3513, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002695/0.354, allocations: 2.006 MB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006527/0.3605, allocations: 3.835 MB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.3608, allocations: 7.938 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005797/0.3666, allocations: 2.964 MB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009713/0.3676, allocations: 358.8 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.3688, allocations: 455.3 kB / 1.068 GB, free: 11.35 MB / 0.8262 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.004602/0.3734, allocations: 3.389 MB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3736, allocations: 40.73 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.3739, allocations: 183.2 kB / 1.072 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.3742, allocations: 219.2 kB / 1.072 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.3742, allocations: 12 kB / 1.072 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.3756, allocations: 0.7758 MB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.3758, allocations: 195.4 kB / 1.073 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.3761, allocations: 256.3 kB / 1.073 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.3772, allocations: 1.008 MB / 1.074 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3772, allocations: 4 kB / 1.074 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3772, allocations: 0 / 1.074 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.3772, allocations: 0 / 1.074 GB, free: 5.27 MB / 0.8262 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.001263/0.3785, allocations: 0.8013 MB / 1.075 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3786, allocations: 12.03 kB / 1.075 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.3798, allocations: 212 kB / 1.075 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.3816, allocations: 0.9599 MB / 1.076 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.3817, allocations: 12 kB / 1.076 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.3817, allocations: 12 kB / 1.076 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.3823, allocations: 261.4 kB / 1.076 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3823, allocations: 0 / 1.076 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.3824, allocations: 4 kB / 1.076 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3824, allocations: 4 kB / 1.076 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007102/0.3831, allocations: 252.4 kB / 1.076 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.3845, allocations: 0.82 MB / 1.077 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007602/0.3853, allocations: 318.5 kB / 1.077 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.3856, allocations: 136.7 kB / 1.078 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.3857, allocations: 4 kB / 1.078 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3857, allocations: 30.56 kB / 1.078 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.964e-06/0.3857, allocations: 0 / 1.078 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.001257/0.387, allocations: 464.6 kB / 1.078 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.387, allocations: 55.41 kB / 1.078 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008028/0.3879, allocations: 0.7303 MB / 1.079 GB, free: 20 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.3879, allocations: 29.7 kB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.3881, allocations: 228.7 kB / 1.079 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.3881, allocations: 39.45 kB / 1.079 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.93e-05/0.3882, allocations: 89.66 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3884, allocations: 374.8 kB / 1.08 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006914/0.3891, allocations: 445.2 kB / 1.08 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008428/0.3899, allocations: 0.5355 MB / 1.081 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.3913, allocations: 0.8703 MB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3913, allocations: 0 / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001666/0.393, allocations: 1.088 MB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.3931, allocations: 148.1 kB / 1.083 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3931, allocations: 0 / 1.083 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.3932, allocations: 11.98 kB / 1.083 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.3937, allocations: 115.8 kB / 1.083 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.3937, allocations: 7.984 kB / 1.083 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.3941, allocations: 79.34 kB / 1.083 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.3942, allocations: 28 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.3942, allocations: 4 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001459/0.3957, allocations: 0.8627 MB / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3957, allocations: 0 / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/0.3957, allocations: 4 kB / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.3961, allocations: 107.9 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3962, allocations: 8.312 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.3965, allocations: 63.59 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.3966, allocations: 31.91 kB / 1.084 GB, free: 10.76 MB / 0.8419 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.0003383/0.3969, allocations: 309 kB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.397, allocations: 59.12 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009636/0.398, allocations: 362.6 kB / 1.085 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.398, allocations: 3.984 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.398, allocations: 12 kB / 1.085 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.398, allocations: 3.984 kB / 1.085 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.3985, allocations: 397.3 kB / 1.085 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3985, allocations: 0 / 1.085 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.3987, allocations: 47.89 kB / 1.085 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3987, allocations: 4 kB / 1.085 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3988, allocations: 4 kB / 1.085 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3988, allocations: 4 kB / 1.085 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3988, allocations: 4 kB / 1.085 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008222/0.3996, allocations: 438.6 kB / 1.085 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.3998, allocations: 152.2 kB / 1.086 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.3998, allocations: 4 kB / 1.086 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.4001, allocations: 23.97 kB / 1.086 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.4002, allocations: 11.98 kB / 1.086 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.4002, allocations: 12 kB / 1.086 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005595/0.4008, allocations: 0.4912 MB / 1.086 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4008, allocations: 4 kB / 1.086 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009546/0.4017, allocations: 311.9 kB / 1.086 GB, free: 8.051 MB / 0.8419 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.0007455/0.4025, allocations: 374.8 kB / 1.087 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.4045, allocations: 1.161 MB / 1.088 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4045, allocations: 0 / 1.088 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.4048, allocations: 140.3 kB / 1.088 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008485/0.4057, allocations: 182.7 kB / 1.088 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.4072, allocations: 1.08 MB / 1.089 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.4077, allocations: 0.9014 MB / 1.09 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000665/0.4084, allocations: 192.2 kB / 1.09 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.4086, allocations: 51.41 kB / 1.09 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of SimCode: time 6.11e-07/0.4086, allocations: 4 kB / 1.09 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.01899/0.4276, allocations: 11.8 MB / 1.102 GB, free: 8.227 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches