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.00166/0.00166, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001739/0.001739, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.543/2.543, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 73.92 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3643, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.005093/0.3694, allocations: 2.323 MB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007973/0.3774, allocations: 3.789 MB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.3777, allocations: 11.88 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006436/0.3842, allocations: 2.995 MB / 1.036 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.3854, allocations: 402.4 kB / 1.036 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.3867, allocations: 0.499 MB / 1.036 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00445/0.3911, allocations: 3.101 MB / 1.04 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3913, allocations: 44.67 kB / 1.04 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.3916, allocations: 203.3 kB / 1.04 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.3919, allocations: 203.2 kB / 1.04 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.3919, allocations: 20 kB / 1.04 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.3932, allocations: 0.7526 MB / 1.041 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.3934, allocations: 219.3 kB / 1.041 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.3937, allocations: 238.6 kB / 1.041 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.3948, allocations: 1.009 MB / 1.042 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3949, allocations: 0 / 1.042 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3949, allocations: 0 / 1.042 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.3949, allocations: 4 kB / 1.042 GB, free: 2.188 MB / 0.8106 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.001379/0.3963, allocations: 0.88 MB / 1.043 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3963, allocations: 12.03 kB / 1.043 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.3976, allocations: 212 kB / 1.043 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.3994, allocations: 0.9561 MB / 1.044 GB, free: 44 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.3995, allocations: 11.98 kB / 1.044 GB, free: 32 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.3995, allocations: 8 kB / 1.044 GB, free: 24 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.4001, allocations: 265.4 kB / 1.044 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4001, allocations: 0 / 1.044 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.4001, allocations: 11.98 kB / 1.044 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4001, allocations: 0 / 1.044 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006158/0.4008, allocations: 237.3 kB / 1.045 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.4021, allocations: 0.8161 MB / 1.045 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.4028, allocations: 290.7 kB / 1.046 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.4031, allocations: 132.7 kB / 1.046 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.4032, allocations: 7.922 kB / 1.046 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.4032, allocations: 42.5 kB / 1.046 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.4032, allocations: 0 / 1.046 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.001141/0.4044, allocations: 436.6 kB / 1.046 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.4044, allocations: 55.41 kB / 1.046 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007666/0.4052, allocations: 0.7381 MB / 1.047 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.4052, allocations: 29.7 kB / 1.047 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.4054, allocations: 228.8 kB / 1.047 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.4055, allocations: 39.45 kB / 1.047 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.4057, allocations: 162 kB / 1.048 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4059, allocations: 370.8 kB / 1.048 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.4065, allocations: 442.9 kB / 1.048 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/0.4073, allocations: 0.5161 MB / 1.049 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.4085, allocations: 0.8741 MB / 1.05 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4086, allocations: 0 / 1.05 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001658/0.4102, allocations: 1.072 MB / 1.051 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4102, allocations: 8 kB / 1.051 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4103, allocations: 0 / 1.051 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.4103, allocations: 4 kB / 1.051 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.4108, allocations: 111.9 kB / 1.051 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4108, allocations: 7.938 kB / 1.051 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.4112, allocations: 75.91 kB / 1.051 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.4113, allocations: 35.98 kB / 1.051 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007303/0.412, allocations: 0.5403 MB / 1.051 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006199/0.4127, allocations: 460.5 kB / 1.052 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001034/0.4137, allocations: 0.7198 MB / 1.053 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.4137, allocations: 0 / 1.053 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.00139/0.4151, allocations: 0.9145 MB / 1.054 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4152, allocations: 10.97 kB / 1.054 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4152, allocations: 8.312 kB / 1.054 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/0.4152, allocations: 4 kB / 1.054 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.4156, allocations: 107.9 kB / 1.054 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4156, allocations: 11.92 kB / 1.054 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.416, allocations: 67.53 kB / 1.054 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.4161, allocations: 27.98 kB / 1.054 GB, free: 5.961 MB / 0.8262 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.0001679/0.4163, allocations: 200.1 kB / 1.054 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/0.4164, allocations: 55.19 kB / 1.054 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008783/0.4172, allocations: 350.6 kB / 1.054 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4173, allocations: 4 kB / 1.054 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4173, allocations: 0 / 1.054 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4173, allocations: 0 / 1.054 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.4177, allocations: 409.2 kB / 1.055 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4178, allocations: 4 kB / 1.055 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.418, allocations: 47.91 kB / 1.055 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.418, allocations: 0 / 1.055 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.418, allocations: 7.984 kB / 1.055 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.418, allocations: 3.938 kB / 1.055 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4181, allocations: 0 / 1.055 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.4188, allocations: 414.7 kB / 1.055 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.419, allocations: 152.3 kB / 1.055 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.419, allocations: 4 kB / 1.055 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.4193, allocations: 19.97 kB / 1.055 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.4194, allocations: 15.98 kB / 1.055 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.4194, allocations: 8 kB / 1.055 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005301/0.4199, allocations: 499 kB / 1.056 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4199, allocations: 4 kB / 1.056 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008865/0.4208, allocations: 307.9 kB / 1.056 GB, free: 3.406 MB / 0.8262 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.0007032/0.4215, allocations: 378.7 kB / 1.056 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.4234, allocations: 1.139 MB / 1.058 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4234, allocations: 0 / 1.058 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.4237, allocations: 136.3 kB / 1.058 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.4245, allocations: 206.5 kB / 1.058 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.4259, allocations: 0.9195 MB / 1.059 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.4264, allocations: 0.9088 MB / 1.06 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005165/0.4269, allocations: 184.2 kB / 1.06 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.4271, allocations: 55.41 kB / 1.06 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.4271, allocations: 3.938 kB / 1.06 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of Templates: time 0.01928/0.4464, allocations: 12.29 MB / 1.072 GB, free: 3.273 MB / 0.8419 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 -s cvode -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/jenkins1/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