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.001656/0.001656, allocations: 114.5 kB / 16.42 MB, free: 6.039 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.001901/0.001901, allocations: 186.2 kB / 17.34 MB, free: 5.625 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.6/2.6, allocations: 472.7 MB / 0.746 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 63.91 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6691/0.6714, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003132/0.6746, allocations: 2.306 MB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005479/0.6801, allocations: 3.799 MB / 1.232 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.6803, allocations: 8 kB / 1.232 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.6829, allocations: 1.047 MB / 1.233 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008004/0.6838, allocations: 426.4 kB / 1.234 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.6848, allocations: 0.5185 MB / 1.234 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004494/0.6893, allocations: 3.152 MB / 1.237 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.6894, allocations: 44.66 kB / 1.237 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.6898, allocations: 227.3 kB / 1.238 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.6901, allocations: 223.1 kB / 1.238 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.6901, allocations: 20 kB / 1.238 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.6912, allocations: 0.7409 MB / 1.239 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.6915, allocations: 219.3 kB / 1.239 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.6917, allocations: 246.6 kB / 1.239 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.6928, allocations: 1.02 MB / 1.24 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6928, allocations: 8 kB / 1.24 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6928, allocations: 0 / 1.24 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.6928, allocations: 0 / 1.24 GB, free: 15.49 MB / 0.9669 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.00129/0.6941, allocations: 0.9092 MB / 1.241 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.6942, allocations: 8.031 kB / 1.241 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.6954, allocations: 212.4 kB / 1.241 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.6972, allocations: 0.9837 MB / 1.242 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.6972, allocations: 11.94 kB / 1.242 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.6973, allocations: 12 kB / 1.242 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.6978, allocations: 253.4 kB / 1.242 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.6979, allocations: 4 kB / 1.242 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.6979, allocations: 7.984 kB / 1.242 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.6979, allocations: 3.984 kB / 1.242 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006584/0.6986, allocations: 231.8 kB / 1.243 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.6998, allocations: 0.8317 MB / 1.243 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.7005, allocations: 294.7 kB / 1.244 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.7008, allocations: 128.7 kB / 1.244 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.7009, allocations: 7.984 kB / 1.244 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.7009, allocations: 34.56 kB / 1.244 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.7009, allocations: 0 / 1.244 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.001168/0.7021, allocations: 441 kB / 1.244 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.7021, allocations: 55.41 kB / 1.244 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007603/0.7029, allocations: 0.7499 MB / 1.245 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.7029, allocations: 25.7 kB / 1.245 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.7031, allocations: 232.8 kB / 1.245 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.7032, allocations: 39.73 kB / 1.245 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.7034, allocations: 162 kB / 1.245 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7035, allocations: 366.8 kB / 1.246 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000645/0.7041, allocations: 442.9 kB / 1.246 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006978/0.7048, allocations: 0.5238 MB / 1.247 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.7061, allocations: 0.8702 MB / 1.248 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7061, allocations: 0 / 1.248 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001548/0.7077, allocations: 1.073 MB / 1.249 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.7077, allocations: 9.25 kB / 1.249 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7077, allocations: 4 kB / 1.249 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.7077, allocations: 4 kB / 1.249 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.7082, allocations: 115.8 kB / 1.249 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7082, allocations: 4 kB / 1.249 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.7086, allocations: 76.09 kB / 1.249 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.7087, allocations: 31.98 kB / 1.249 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007321/0.7094, allocations: 0.5442 MB / 1.249 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006424/0.7101, allocations: 464.5 kB / 1.25 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00107/0.7112, allocations: 0.7198 MB / 1.251 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.7112, allocations: 0 / 1.251 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001399/0.7126, allocations: 0.9224 MB / 1.251 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.7126, allocations: 11.92 kB / 1.251 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7126, allocations: 8.219 kB / 1.251 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.7126, allocations: 8 kB / 1.251 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.7131, allocations: 99.88 kB / 1.252 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.7131, allocations: 4 kB / 1.252 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.7135, allocations: 63.75 kB / 1.252 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.7135, allocations: 28.36 kB / 1.252 GB, free: 3.184 MB / 0.9669 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.0001357/0.7137, allocations: 200.1 kB / 1.252 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.7138, allocations: 55.56 kB / 1.252 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008925/0.7147, allocations: 366.5 kB / 1.252 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7147, allocations: 0 / 1.252 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.7147, allocations: 0 / 1.252 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.7149, allocations: 148.7 kB / 1.252 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.7149, allocations: 0 / 1.252 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.7152, allocations: 23.97 kB / 1.252 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.7153, allocations: 15.92 kB / 1.252 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008838/0.7162, allocations: 384.6 kB / 1.253 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007656/0.7169, allocations: 494.3 kB / 1.253 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003284/0.7173, allocations: 132.2 kB / 1.253 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005674/0.7179, allocations: 0.4951 MB / 1.254 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of Backend: time 4.61e-07/0.7179, allocations: 0 / 1.254 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002577/0.7205, allocations: 1.374 MB / 1.255 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of SimCode: time 0.001856/0.7223, allocations: 1.531 MB / 1.257 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of Templates: time 0.02251/0.7448, allocations: 14.16 MB / 1.271 GB, free: 15.86 MB / 0.9981 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=480 -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