Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008283/0.008283, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001868/0.001868, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.501/2.501, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 58.28 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2981, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003283/0.3014, allocations: 2.024 MB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003247/0.3047, allocations: 2.025 MB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.3048, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006813/0.3055, allocations: 251 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.3063, allocations: 299.6 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009517/0.3072, allocations: 489.5 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.3078, allocations: 470.7 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.308, allocations: 48.3 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.3082, allocations: 171.5 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.3085, allocations: 167.4 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.3085, allocations: 12 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006023/0.3091, allocations: 455.2 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.3092, allocations: 103.7 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3094, allocations: 123.3 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.3101, allocations: 0.5801 MB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3101, allocations: 0 / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3101, allocations: 0 / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.3101, allocations: 0 / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008983/0.311, allocations: 0.6067 MB / 1.096 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3111, allocations: 8.031 kB / 1.096 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000949/0.312, allocations: 136.6 kB / 1.096 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.3125, allocations: 352.5 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3125, allocations: 4.375 kB / 1.096 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.3125, allocations: 12.38 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.3131, allocations: 199.1 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3131, allocations: 0 / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.3132, allocations: 4 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3132, allocations: 4 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007836/0.314, allocations: 199.8 kB / 1.096 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.315, allocations: 0.5633 MB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007349/0.3157, allocations: 210.3 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.3161, allocations: 100.8 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.3161, allocations: 4 kB / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.3162, allocations: 34.56 kB / 1.097 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3162, allocations: 0 / 1.097 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001302/0.3175, allocations: 341.4 kB / 1.098 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.3175, allocations: 51.41 kB / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.3179, allocations: 344.5 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.3179, allocations: 29.7 kB / 1.098 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.318, allocations: 152.1 kB / 1.098 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.3181, allocations: 27.75 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.3182, allocations: 53.67 kB / 1.098 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3183, allocations: 339.2 kB / 1.099 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.3188, allocations: 152.8 kB / 1.099 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.3193, allocations: 202.7 kB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008961/0.3202, allocations: 342.6 kB / 1.099 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3202, allocations: 3.938 kB / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001043/0.3213, allocations: 405.4 kB / 1.1 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3213, allocations: 4 kB / 1.1 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3213, allocations: 0 / 1.1 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3213, allocations: 7.984 kB / 1.1 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.3217, allocations: 59.89 kB / 1.1 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3217, allocations: 11.94 kB / 1.1 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.322, allocations: 47.75 kB / 1.1 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.322, allocations: 8 kB / 1.1 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000494/0.3225, allocations: 252 kB / 1.1 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004414/0.323, allocations: 188.1 kB / 1.1 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00082/0.3238, allocations: 297.8 kB / 1.1 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.155e-06/0.3238, allocations: 4 kB / 1.1 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0009631/0.3248, allocations: 361.3 kB / 1.101 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/0.3248, allocations: 8 kB / 1.101 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3248, allocations: 4 kB / 1.101 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-06/0.3248, allocations: 0 / 1.101 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.3251, allocations: 63.89 kB / 1.101 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3252, allocations: 7.984 kB / 1.101 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.3254, allocations: 31.88 kB / 1.101 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.3255, allocations: 15.98 kB / 1.101 GB, free: 3.855 MB / 0.8575 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 (19): * Single equations (assignments): 18 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001152/0.3256, allocations: 196.1 kB / 1.101 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.3256, allocations: 27.81 kB / 1.101 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009528/0.3266, allocations: 276.2 kB / 1.101 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3266, allocations: 0 / 1.101 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3266, allocations: 7.922 kB / 1.101 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3266, allocations: 4 kB / 1.101 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.327, allocations: 289.9 kB / 1.102 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.327, allocations: 0 / 1.102 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.3272, allocations: 35.97 kB / 1.102 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3273, allocations: 0 / 1.102 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.3273, allocations: 15.92 kB / 1.102 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3273, allocations: 96 / 1.102 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3273, allocations: 11.88 kB / 1.102 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.3282, allocations: 347.2 kB / 1.102 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3283, allocations: 112.9 kB / 1.102 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.3283, allocations: 8 kB / 1.102 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.3286, allocations: 23.97 kB / 1.102 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.3287, allocations: 11.92 kB / 1.102 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3287, allocations: 8 kB / 1.102 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000238/0.3289, allocations: 239 kB / 1.102 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3289, allocations: 0 / 1.102 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006178/0.3296, allocations: 147.7 kB / 1.103 GB, free: 2.031 MB / 0.8575 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 (10): * Single equations (assignments): 10 * 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.0004543/0.33, allocations: 210.9 kB / 1.103 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.3315, allocations: 436.4 kB / 1.103 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3315, allocations: 0 / 1.103 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.3319, allocations: 112.3 kB / 1.103 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.3325, allocations: 106.6 kB / 1.103 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3335, allocations: 0.4953 MB / 1.104 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.3339, allocations: 0.7717 MB / 1.105 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.3342, allocations: 86.8 kB / 1.105 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.3343, allocations: 31.42 kB / 1.105 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of SimCode: time 1.603e-06/0.3343, allocations: 0 / 1.105 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.01205/0.3463, allocations: 6.786 MB / 1.111 GB, free: 9.031 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches