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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 113 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 191.7 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8964/0.8983, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00361/0.902, allocations: 2.318 MB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005645/0.9076, allocations: 3.795 MB / 1.269 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003499/0.908, allocations: 5.281 kB / 1.269 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003293/0.9114, allocations: 1.065 MB / 1.27 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.9124, allocations: 437.3 kB / 1.27 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.9137, allocations: 0.5099 MB / 1.271 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00539/0.9191, allocations: 3.166 MB / 1.274 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.9192, allocations: 53.02 kB / 1.274 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/0.9196, allocations: 222.7 kB / 1.274 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.9199, allocations: 213.6 kB / 1.274 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.92, allocations: 20.41 kB / 1.274 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.9214, allocations: 0.7511 MB / 1.275 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.9216, allocations: 219.2 kB / 1.275 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.9219, allocations: 245.6 kB / 1.275 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.9235, allocations: 1.027 MB / 1.276 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9235, allocations: 0 / 1.276 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9235, allocations: 2.141 kB / 1.276 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.9235, allocations: 0 / 1.276 GB, free: 1.09 MB / 0.9981 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.001385/0.9249, allocations: 0.9085 MB / 1.277 GB, free: 384 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.925, allocations: 10.89 kB / 1.277 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.9262, allocations: 207 kB / 1.277 GB, free: 344 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.9284, allocations: 0.9856 MB / 1.278 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.9284, allocations: 8.594 kB / 1.278 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.9285, allocations: 11.09 kB / 1.278 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006089/0.9291, allocations: 264.3 kB / 1.279 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.9291, allocations: 0 / 1.279 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.9291, allocations: 5.125 kB / 1.279 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.9292, allocations: 2.562 kB / 1.279 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/0.9299, allocations: 230.2 kB / 1.279 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.9313, allocations: 0.824 MB / 1.28 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.9321, allocations: 301.6 kB / 1.28 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.9324, allocations: 122.6 kB / 1.28 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.9325, allocations: 8.5 kB / 1.28 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.9325, allocations: 32.55 kB / 1.28 GB, free: 15.03 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.9325, allocations: 0 / 1.28 GB, free: 15.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.001295/0.9338, allocations: 445 kB / 1.28 GB, free: 14.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.9339, allocations: 53 kB / 1.281 GB, free: 14.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.935, allocations: 0.7419 MB / 1.281 GB, free: 14.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/0.935, allocations: 31.52 kB / 1.281 GB, free: 14.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.9353, allocations: 235.8 kB / 1.282 GB, free: 14.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.545e-05/0.9353, allocations: 38.89 kB / 1.282 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.9356, allocations: 159.3 kB / 1.282 GB, free: 14.17 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.9358, allocations: 368.6 kB / 1.282 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007422/0.9365, allocations: 446.7 kB / 1.282 GB, free: 13.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008217/0.9374, allocations: 0.5218 MB / 1.283 GB, free: 13.45 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.9388, allocations: 0.8703 MB / 1.284 GB, free: 13.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.9388, allocations: 4.781 kB / 1.284 GB, free: 13.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001911/0.9408, allocations: 1.066 MB / 1.285 GB, free: 12.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.9408, allocations: 5.938 kB / 1.285 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.9408, allocations: 2.062 kB / 1.285 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.9408, allocations: 3.719 kB / 1.285 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.9414, allocations: 117.6 kB / 1.285 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.9414, allocations: 4.453 kB / 1.285 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.942, allocations: 81.11 kB / 1.285 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.45e-05/0.9421, allocations: 33.61 kB / 1.285 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009565/0.9431, allocations: 0.5442 MB / 1.286 GB, free: 12.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007648/0.9438, allocations: 463.8 kB / 1.286 GB, free: 12.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001242/0.9451, allocations: 0.7209 MB / 1.287 GB, free: 11.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.486e-06/0.9451, allocations: 0 / 1.287 GB, free: 11.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001697/0.9468, allocations: 0.9278 MB / 1.288 GB, free: 11.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.9469, allocations: 7.031 kB / 1.288 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.9469, allocations: 1.984 kB / 1.288 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.9469, allocations: 4.125 kB / 1.288 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.9473, allocations: 108.9 kB / 1.288 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.9473, allocations: 12.33 kB / 1.288 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.9478, allocations: 62.83 kB / 1.288 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.9479, allocations: 26.3 kB / 1.288 GB, free: 11.48 MB / 1.014 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.0002382/0.9481, allocations: 201.7 kB / 1.288 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.935e-05/0.9482, allocations: 51.56 kB / 1.288 GB, free: 11.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.9493, allocations: 352.6 kB / 1.289 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.9493, allocations: 1.188 kB / 1.289 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.9493, allocations: 0.6094 kB / 1.289 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.9493, allocations: 6.406 kB / 1.289 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.9499, allocations: 417.7 kB / 1.289 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.9499, allocations: 1.594 kB / 1.289 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.9502, allocations: 42.03 kB / 1.289 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.9502, allocations: 1.406 kB / 1.289 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.9502, allocations: 3.516 kB / 1.289 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.9502, allocations: 5.844 kB / 1.289 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9502, allocations: 0 / 1.289 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008481/0.9511, allocations: 426.9 kB / 1.289 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.9513, allocations: 157.8 kB / 1.29 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.9514, allocations: 0 / 1.29 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.9516, allocations: 24.81 kB / 1.29 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.9517, allocations: 8.266 kB / 1.29 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.9518, allocations: 9.375 kB / 1.29 GB, free: 10.46 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008/0.9526, allocations: 0.4982 MB / 1.29 GB, free: 10.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9526, allocations: 4 kB / 1.29 GB, free: 10.24 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001287/0.9539, allocations: 316.7 kB / 1.29 GB, free: 10.2 MB / 1.014 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.0008274/0.9547, allocations: 371.2 kB / 1.291 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002117/0.9568, allocations: 1.143 MB / 1.292 GB, free: 9.648 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9568, allocations: 0 / 1.292 GB, free: 9.648 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.9572, allocations: 133.3 kB / 1.292 GB, free: 9.617 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008653/0.9581, allocations: 209.6 kB / 1.292 GB, free: 9.543 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.9602, allocations: 1.007 MB / 1.293 GB, free: 9.031 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.9608, allocations: 0.8873 MB / 1.294 GB, free: 8.297 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.961, allocations: 59.55 kB / 1.294 GB, free: 8.277 MB / 1.014 GB Notification: Performance of SimCode: time 3.797e-06/0.961, allocations: 1 kB / 1.294 GB, free: 8.277 MB / 1.014 GB Notification: Performance of Templates: time 0.01868/0.9797, allocations: 10.01 MB / 1.304 GB, free: 7.203 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.854436127003282]