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.001489/0.001489, allocations: 102.4 kB / 16.27 MB, free: 5.973 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.001708/0.001708, allocations: 192 kB / 17.2 MB, free: 5.598 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.222/2.222, allocations: 390.3 MB / 0.6653 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.64 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2823, allocations: 140.4 MB / 0.9503 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004004/0.2863, allocations: 2.03 MB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003594/0.2899, allocations: 2.018 MB / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.2902, allocations: 8 kB / 0.9542 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008674/0.2911, allocations: 251 kB / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0009371/0.2921, allocations: 302.9 kB / 0.9548 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.2933, allocations: 486.9 kB / 0.9552 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000757/0.2941, allocations: 470.7 kB / 0.9557 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.2942, allocations: 44.58 kB / 0.9557 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.2946, allocations: 163.5 kB / 0.9559 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.2949, allocations: 171.4 kB / 0.956 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.295, allocations: 12 kB / 0.956 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007411/0.2957, allocations: 451.2 kB / 0.9565 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.2958, allocations: 87.78 kB / 0.9566 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.296, allocations: 119.3 kB / 0.9567 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009555/0.297, allocations: 0.5766 MB / 0.9572 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.297, allocations: 0 / 0.9572 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.297, allocations: 0 / 0.9572 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.297, allocations: 0 / 0.9572 GB, free: 1.664 MB / 0.7325 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.001083/0.2981, allocations: 0.5995 MB / 0.9578 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2981, allocations: 8.031 kB / 0.9578 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009831/0.2991, allocations: 136.4 kB / 0.958 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.2996, allocations: 336.3 kB / 0.9583 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2997, allocations: 4.375 kB / 0.9583 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.2997, allocations: 16.36 kB / 0.9583 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.3003, allocations: 200.2 kB / 0.9585 GB, free: 300 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3003, allocations: 0 / 0.9585 GB, free: 300 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.3004, allocations: 11.94 kB / 0.9585 GB, free: 288 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3004, allocations: 0 / 0.9585 GB, free: 288 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007582/0.3011, allocations: 207.7 kB / 0.9587 GB, free: 80 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.3022, allocations: 0.5401 MB / 0.9592 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007341/0.303, allocations: 202.5 kB / 0.9594 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.3034, allocations: 100.8 kB / 0.9595 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3034, allocations: 4 kB / 0.9595 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3034, allocations: 34.69 kB / 0.9596 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3035, allocations: 8 kB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.001304/0.3048, allocations: 341.2 kB / 0.9599 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.3048, allocations: 51.41 kB / 0.9599 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.3052, allocations: 340.8 kB / 0.9603 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.3052, allocations: 29.69 kB / 0.9603 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.3054, allocations: 156 kB / 0.9604 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.3054, allocations: 31.55 kB / 0.9605 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.529e-05/0.3055, allocations: 57.64 kB / 0.9605 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3057, allocations: 338.8 kB / 0.9608 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.3061, allocations: 148.8 kB / 0.961 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.3066, allocations: 200.6 kB / 0.9612 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009178/0.3075, allocations: 354.3 kB / 0.9615 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3075, allocations: 4 kB / 0.9615 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001082/0.3086, allocations: 405.2 kB / 0.9619 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3087, allocations: 11.98 kB / 0.9619 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3087, allocations: 0 / 0.9619 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3087, allocations: 4 kB / 0.9619 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.3091, allocations: 59.95 kB / 0.962 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3091, allocations: 11.86 kB / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.3094, allocations: 47.72 kB / 0.962 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.3094, allocations: 12 kB / 0.9621 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005316/0.31, allocations: 244 kB / 0.9623 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004431/0.3104, allocations: 184.7 kB / 0.9625 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008373/0.3113, allocations: 298.6 kB / 0.9627 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.3113, allocations: 0 / 0.9627 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0009952/0.3123, allocations: 357.2 kB / 0.9631 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3123, allocations: 8 kB / 0.9631 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3123, allocations: 0 / 0.9631 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-06/0.3123, allocations: 4 kB / 0.9631 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.3126, allocations: 59.95 kB / 0.9632 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3127, allocations: 7.984 kB / 0.9632 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.3129, allocations: 35.75 kB / 0.9632 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.313, allocations: 19.98 kB / 0.9632 GB, free: 11.21 MB / 0.7481 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.0001433/0.3131, allocations: 192.2 kB / 0.9634 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.3132, allocations: 27.62 kB / 0.9634 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009393/0.3142, allocations: 276.1 kB / 0.9637 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.3142, allocations: 4 kB / 0.9637 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3142, allocations: 7.875 kB / 0.9637 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3142, allocations: 0 / 0.9637 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.3146, allocations: 282 kB / 0.964 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3146, allocations: 3.938 kB / 0.964 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.3148, allocations: 47.91 kB / 0.964 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3148, allocations: 0 / 0.964 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.3149, allocations: 3.984 kB / 0.964 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3149, allocations: 0 / 0.964 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3149, allocations: 7.938 kB / 0.964 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008532/0.3157, allocations: 351 kB / 0.9644 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.3159, allocations: 112.7 kB / 0.9645 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.316, allocations: 4 kB / 0.9645 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.3162, allocations: 23.97 kB / 0.9645 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.3163, allocations: 15.92 kB / 0.9645 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.3163, allocations: 12 kB / 0.9645 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002744/0.3166, allocations: 235 kB / 0.9647 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3166, allocations: 0 / 0.9647 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006782/0.3173, allocations: 155.9 kB / 0.9649 GB, free: 9.395 MB / 0.7481 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.0005672/0.3178, allocations: 199.1 kB / 0.9651 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.3193, allocations: 443.9 kB / 0.9655 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3193, allocations: 4.375 kB / 0.9655 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.3197, allocations: 107.9 kB / 0.9656 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.3203, allocations: 99.72 kB / 0.9657 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.3215, allocations: 0.5519 MB / 0.9663 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3219, allocations: 0.7717 MB / 0.967 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.322, allocations: 31.42 kB / 0.967 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/0.322, allocations: 0 / 0.967 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of Templates: time 0.009337/0.3314, allocations: 5.516 MB / 0.9724 GB, free: 1.66 MB / 0.7481 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/jenkins1/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