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.001179/0.001179, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001163/0.001163, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.17 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.148/2.148, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7033/0.7046, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003144/0.7078, allocations: 2.035 MB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00316/0.7109, allocations: 2.014 MB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.7111, allocations: 8.219 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008308/0.712, allocations: 259.5 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008082/0.7128, allocations: 296.1 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.7141, allocations: 491.9 kB / 1.094 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007486/0.7149, allocations: 459.7 kB / 1.094 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.715, allocations: 48.84 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.7153, allocations: 166.9 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.7156, allocations: 169.9 kB / 1.094 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.7157, allocations: 15 kB / 1.094 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008329/0.7165, allocations: 450.3 kB / 1.095 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.7167, allocations: 102.6 kB / 1.095 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.7168, allocations: 119.2 kB / 1.095 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009475/0.7178, allocations: 0.5807 MB / 1.096 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7178, allocations: 0.6094 kB / 1.096 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7178, allocations: 1.062 kB / 1.096 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.7178, allocations: 0 / 1.096 GB, free: 1.5 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.0009403/0.7188, allocations: 0.5941 MB / 1.096 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.7188, allocations: 8.594 kB / 1.096 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.7199, allocations: 140.6 kB / 1.096 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.7204, allocations: 341.7 kB / 1.097 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.7204, allocations: 8.688 kB / 1.097 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.7205, allocations: 7.438 kB / 1.097 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.7211, allocations: 202 kB / 1.097 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.7211, allocations: 5.391 kB / 1.097 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.7212, allocations: 4.969 kB / 1.097 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.7212, allocations: 5.781 kB / 1.097 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008775/0.7221, allocations: 200.2 kB / 1.097 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.7232, allocations: 0.5495 MB / 1.098 GB, free: 160 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007937/0.724, allocations: 206.2 kB / 1.098 GB, free: 88 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.7244, allocations: 103 kB / 1.098 GB, free: 56 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.7244, allocations: 5.953 kB / 1.098 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.7245, allocations: 36.09 kB / 1.098 GB, free: 8 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.7245, allocations: 0 / 1.098 GB, free: 8 kB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001468/0.7259, allocations: 343.2 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.726, allocations: 56.28 kB / 1.098 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.7265, allocations: 339 kB / 1.099 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.7266, allocations: 26.73 kB / 1.099 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.7267, allocations: 152.4 kB / 1.099 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.7267, allocations: 31.25 kB / 1.099 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.7269, allocations: 48.77 kB / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.7271, allocations: 339.8 kB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.7276, allocations: 155.9 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005544/0.7282, allocations: 196.3 kB / 1.1 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.7292, allocations: 346.2 kB / 1.1 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7293, allocations: 0.9062 kB / 1.1 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001243/0.7305, allocations: 412 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.7305, allocations: 10.47 kB / 1.1 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.7306, allocations: 6.156 kB / 1.1 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.7306, allocations: 2.969 kB / 1.1 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.731, allocations: 60.66 kB / 1.1 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.731, allocations: 7.234 kB / 1.1 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.7314, allocations: 45.19 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.7314, allocations: 13.92 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005844/0.732, allocations: 248.9 kB / 1.101 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005156/0.7325, allocations: 182.1 kB / 1.101 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009894/0.7335, allocations: 302.8 kB / 1.101 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.392e-06/0.7336, allocations: 5.047 kB / 1.101 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.001245/0.7348, allocations: 362.2 kB / 1.101 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7348, allocations: 6.062 kB / 1.101 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.7348, allocations: 1.969 kB / 1.101 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.7349, allocations: 2.844 kB / 1.101 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.7352, allocations: 58.09 kB / 1.102 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.7353, allocations: 7.375 kB / 1.102 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.7356, allocations: 32.78 kB / 1.102 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.7357, allocations: 19.69 kB / 1.102 GB, free: 14.12 MB / 0.8731 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.0001571/0.7358, allocations: 186.6 kB / 1.102 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/0.7359, allocations: 27.12 kB / 1.102 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.7369, allocations: 278.3 kB / 1.102 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.737, allocations: 0.7031 kB / 1.102 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.737, allocations: 0.5625 kB / 1.102 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.7372, allocations: 129.4 kB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.78e-05/0.7372, allocations: 1.859 kB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.7375, allocations: 25.2 kB / 1.102 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.7376, allocations: 7.094 kB / 1.102 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001093/0.7387, allocations: 336.5 kB / 1.103 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009643/0.7397, allocations: 425.5 kB / 1.103 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004131/0.7401, allocations: 106.5 kB / 1.103 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003003/0.7404, allocations: 237.4 kB / 1.103 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of Backend: time 4.21e-07/0.7404, allocations: 0 / 1.103 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002188/0.7426, allocations: 0.5177 MB / 1.104 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001368/0.744, allocations: 0.9717 MB / 1.105 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of Templates: time 0.02041/0.7644, allocations: 7.972 MB / 1.113 GB, free: 11.63 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/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