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.001485/0.001485, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.00163/0.00163, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.481/1.481, allocations: 222.9 MB / 241 MB, free: 15.15 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.346/2.346, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8346/0.836, 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.003483/0.8395, allocations: 2.036 MB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003389/0.8429, allocations: 2.01 MB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.8433, allocations: 7.906 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009167/0.8442, allocations: 262.6 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009463/0.8452, allocations: 296 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.8467, allocations: 491.8 kB / 1.094 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009211/0.8476, allocations: 463 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.8477, allocations: 41.78 kB / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.8481, allocations: 174.2 kB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.8484, allocations: 165.5 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.8485, allocations: 14.59 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009464/0.8494, allocations: 450.8 kB / 1.095 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.8496, allocations: 98.89 kB / 1.095 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.8497, allocations: 118.3 kB / 1.095 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.8508, allocations: 0.5814 MB / 1.096 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8508, allocations: 5.188 kB / 1.096 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.464e-06/0.8508, allocations: 0 / 1.096 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.8508, allocations: 3.938 kB / 1.096 GB, free: 1.504 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.0009308/0.8518, allocations: 0.5904 MB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.8518, allocations: 10.08 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00099/0.8528, allocations: 140.5 kB / 1.096 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.8533, allocations: 329.3 kB / 1.097 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.8534, allocations: 16.73 kB / 1.097 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.8534, allocations: 11.22 kB / 1.097 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/0.854, allocations: 203.6 kB / 1.097 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.854, allocations: 3.938 kB / 1.097 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.854, allocations: 8.75 kB / 1.097 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.8541, allocations: 2.562 kB / 1.097 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008071/0.8549, allocations: 200.7 kB / 1.097 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.8561, allocations: 0.5491 MB / 1.098 GB, free: 168 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/0.8568, allocations: 209.9 kB / 1.098 GB, free: 92 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.8572, allocations: 97.36 kB / 1.098 GB, free: 64 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.8573, allocations: 10.61 kB / 1.098 GB, free: 56 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.8573, allocations: 36.86 kB / 1.098 GB, free: 12 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.8573, allocations: 0 / 1.098 GB, free: 12 kB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001406/0.8587, allocations: 342 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.8588, allocations: 54.11 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.8593, allocations: 338.1 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.8593, allocations: 34.94 kB / 1.099 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.8595, allocations: 152.8 kB / 1.099 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.8595, allocations: 29.69 kB / 1.099 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.8596, allocations: 50.25 kB / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.8598, allocations: 339 kB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/0.8603, allocations: 152.7 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.8608, allocations: 199.1 kB / 1.1 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.8618, allocations: 343.1 kB / 1.1 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.8618, allocations: 0 / 1.1 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001191/0.863, allocations: 406.7 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.863, allocations: 13.38 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.863, allocations: 2.625 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.8631, allocations: 3.781 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.8634, allocations: 56.38 kB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.8635, allocations: 6.688 kB / 1.1 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.8638, allocations: 41.86 kB / 1.1 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.8639, allocations: 13.92 kB / 1.1 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005886/0.8645, allocations: 251.9 kB / 1.101 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004921/0.865, allocations: 183.2 kB / 1.101 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008878/0.8659, allocations: 301.2 kB / 1.101 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/0.8659, allocations: 0 / 1.101 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.001206/0.8671, allocations: 366.5 kB / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.8671, allocations: 6.547 kB / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8672, allocations: 2.062 kB / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.8672, allocations: 7.125 kB / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.8675, allocations: 57.72 kB / 1.102 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.8676, allocations: 3.219 kB / 1.102 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.8679, allocations: 41.05 kB / 1.102 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.868, allocations: 11.81 kB / 1.102 GB, free: 14.14 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.0001724/0.8681, allocations: 187.7 kB / 1.102 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.8682, allocations: 27.52 kB / 1.102 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.8693, allocations: 282.1 kB / 1.102 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.8693, allocations: 5.594 kB / 1.102 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.8693, allocations: 5.062 kB / 1.102 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.8693, allocations: 0.6562 kB / 1.102 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.8698, allocations: 291.9 kB / 1.102 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8698, allocations: 0.6094 kB / 1.102 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.8701, allocations: 43 kB / 1.102 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.8701, allocations: 3.938 kB / 1.102 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.8701, allocations: 6.297 kB / 1.102 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.8701, allocations: 1 kB / 1.102 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.8701, allocations: 5.344 kB / 1.102 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008579/0.871, allocations: 345.8 kB / 1.103 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.8711, allocations: 117.2 kB / 1.103 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.8712, allocations: 0.6094 kB / 1.103 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.8714, allocations: 29.86 kB / 1.103 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.8715, allocations: 10.83 kB / 1.103 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.8715, allocations: 8.031 kB / 1.103 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003344/0.8719, allocations: 242.2 kB / 1.103 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8719, allocations: 0 / 1.103 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008983/0.8728, allocations: 149.9 kB / 1.103 GB, free: 13.1 MB / 0.8731 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.0005347/0.8733, allocations: 199.7 kB / 1.103 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.8749, allocations: 444.6 kB / 1.104 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8749, allocations: 0 / 1.104 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.8753, allocations: 107.6 kB / 1.104 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.8759, allocations: 107.5 kB / 1.104 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.8771, allocations: 0.532 MB / 1.105 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.8775, allocations: 0.7654 MB / 1.105 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.8777, allocations: 38.66 kB / 1.105 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of SimCode: time 1.133e-06/0.8777, allocations: 1.156 kB / 1.105 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.01136/0.8891, allocations: 5.54 MB / 1.111 GB, free: 11.27 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