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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001453/0.001453, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001371/0.001371, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.395/1.395, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.7/2.7, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001913, allocations: 71.84 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8233, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003798/0.8272, allocations: 2.304 MB / 1.085 GB, free: 32 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007076/0.8343, allocations: 3.806 MB / 1.089 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003646/0.8347, allocations: 9.812 kB / 1.089 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.007293/0.8421, allocations: 3.177 MB / 1.092 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.8433, allocations: 396.7 kB / 1.092 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.8449, allocations: 0.5027 MB / 1.093 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005314/0.8503, allocations: 2.97 MB / 1.096 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.8504, allocations: 49.55 kB / 1.096 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004071/0.8509, allocations: 196.2 kB / 1.096 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.8513, allocations: 205.4 kB / 1.096 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.8514, allocations: 18.19 kB / 1.096 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.8531, allocations: 0.744 MB / 1.097 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.8534, allocations: 215.5 kB / 1.097 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.8538, allocations: 236.3 kB / 1.097 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.856, allocations: 1.012 MB / 1.098 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.856, allocations: 4 kB / 1.098 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.61e-07/0.856, allocations: 0 / 1.098 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.654e-05/0.856, allocations: 0.9688 kB / 1.098 GB, free: 10.31 MB / 0.8419 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.002105/0.8582, allocations: 0.8752 MB / 1.099 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.8582, allocations: 9.75 kB / 1.099 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.8595, allocations: 214.5 kB / 1.099 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.8617, allocations: 0.9495 MB / 1.1 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.8618, allocations: 12.3 kB / 1.1 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.8619, allocations: 17.34 kB / 1.1 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/0.8625, allocations: 257.7 kB / 1.101 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.8625, allocations: 0 / 1.101 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.8626, allocations: 5.375 kB / 1.101 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.8626, allocations: 9.375 kB / 1.101 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/0.8633, allocations: 235.7 kB / 1.101 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.8649, allocations: 0.8219 MB / 1.102 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/0.8657, allocations: 307.5 kB / 1.102 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.8661, allocations: 127.5 kB / 1.102 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.8661, allocations: 2.078 kB / 1.102 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.8662, allocations: 36.55 kB / 1.102 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 6.562e-06/0.8662, allocations: 0 / 1.102 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.001337/0.8675, allocations: 450.7 kB / 1.103 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.8676, allocations: 53.45 kB / 1.103 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.8687, allocations: 0.7406 MB / 1.103 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.8687, allocations: 31.17 kB / 1.103 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.869, allocations: 229.3 kB / 1.104 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.767e-05/0.869, allocations: 41.52 kB / 1.104 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.8693, allocations: 155.1 kB / 1.104 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.8695, allocations: 369.2 kB / 1.104 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008004/0.8703, allocations: 452.5 kB / 1.105 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008619/0.8712, allocations: 0.5253 MB / 1.105 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.8726, allocations: 0.8732 MB / 1.106 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8727, allocations: 1.375 kB / 1.106 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001902/0.8746, allocations: 1.077 MB / 1.107 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.8746, allocations: 8.469 kB / 1.107 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.8746, allocations: 1.344 kB / 1.107 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.8746, allocations: 4.906 kB / 1.107 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.8752, allocations: 118.4 kB / 1.107 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.8752, allocations: 4.375 kB / 1.107 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.8757, allocations: 68.84 kB / 1.107 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.8758, allocations: 32.34 kB / 1.107 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009582/0.8767, allocations: 0.5388 MB / 1.108 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008052/0.8776, allocations: 473.9 kB / 1.108 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001363/0.8789, allocations: 0.7205 MB / 1.109 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.116e-06/0.8789, allocations: 1.031 kB / 1.109 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001735/0.8807, allocations: 0.9245 MB / 1.11 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.8807, allocations: 5.219 kB / 1.11 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8807, allocations: 2.375 kB / 1.11 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.8807, allocations: 3.906 kB / 1.11 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.8812, allocations: 109.8 kB / 1.11 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.8812, allocations: 12.69 kB / 1.11 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.8817, allocations: 61.61 kB / 1.11 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.8818, allocations: 23.33 kB / 1.11 GB, free: 4.773 MB / 0.8419 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.0002179/0.882, allocations: 209.6 kB / 1.11 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.209e-05/0.8821, allocations: 47.84 kB / 1.11 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.8832, allocations: 364.5 kB / 1.111 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.8832, allocations: 1.516 kB / 1.111 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8832, allocations: 4.75 kB / 1.111 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8832, allocations: 0.7969 kB / 1.111 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.8839, allocations: 406.7 kB / 1.111 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.8839, allocations: 4 kB / 1.111 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.8841, allocations: 44.39 kB / 1.111 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.8842, allocations: 1.094 kB / 1.111 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.8842, allocations: 3.453 kB / 1.111 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8842, allocations: 1.703 kB / 1.111 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8842, allocations: 4 kB / 1.111 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009391/0.8852, allocations: 430.3 kB / 1.111 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.8854, allocations: 149 kB / 1.112 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.8854, allocations: 1.719 kB / 1.112 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.8857, allocations: 23.45 kB / 1.112 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.8858, allocations: 12.59 kB / 1.112 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.8858, allocations: 9.984 kB / 1.112 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006503/0.8865, allocations: 0.4908 MB / 1.112 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.8865, allocations: 0 / 1.112 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001214/0.8877, allocations: 316.8 kB / 1.112 GB, free: 3.484 MB / 0.8419 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.0008501/0.8886, allocations: 371.2 kB / 1.113 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002296/0.8909, allocations: 1.154 MB / 1.114 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8909, allocations: 3.938 kB / 1.114 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.8913, allocations: 135.9 kB / 1.114 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009261/0.8922, allocations: 206.4 kB / 1.114 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.8945, allocations: 1.011 MB / 1.115 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.8951, allocations: 0.8865 MB / 1.116 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.8953, allocations: 60.12 kB / 1.116 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.8953, allocations: 1.281 kB / 1.116 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of Templates: time 0.02021/0.9156, allocations: 9.91 MB / 1.126 GB, free: 13.06 MB / 0.8575 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=400 -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