Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001678/0.001678, allocations: 110.9 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.001913/0.001913, allocations: 188.1 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.45/2.45, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8389/0.8403, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003558/0.8439, allocations: 2.312 MB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005786/0.8498, allocations: 3.786 MB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/0.8501, allocations: 8 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002807/0.8529, allocations: 1.046 MB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008776/0.8538, allocations: 423 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.855, allocations: 0.5154 MB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0045/0.8595, allocations: 3.15 MB / 1.178 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.8597, allocations: 40.75 kB / 1.178 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003783/0.8601, allocations: 227.2 kB / 1.179 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.8604, allocations: 215.2 kB / 1.179 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.8604, allocations: 20 kB / 1.179 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.8616, allocations: 0.7642 MB / 1.179 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.8619, allocations: 211.4 kB / 1.18 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.8621, allocations: 238.6 kB / 1.18 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.8634, allocations: 1.028 MB / 1.181 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8634, allocations: 4 kB / 1.181 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8634, allocations: 0 / 1.181 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.8634, allocations: 0 / 1.181 GB, free: 5.852 MB / 0.9044 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.00153/0.8649, allocations: 0.8867 MB / 1.182 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.865, allocations: 16.81 kB / 1.182 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.8663, allocations: 208 kB / 1.182 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.8683, allocations: 0.9755 MB / 1.183 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.8683, allocations: 8 kB / 1.183 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.8684, allocations: 12 kB / 1.183 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.8689, allocations: 258.5 kB / 1.183 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.8689, allocations: 0 / 1.183 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.8689, allocations: 4 kB / 1.183 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8689, allocations: 4 kB / 1.183 GB, free: 3.391 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.8696, allocations: 231.8 kB / 1.183 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.8709, allocations: 0.8354 MB / 1.184 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/0.8716, allocations: 310.6 kB / 1.185 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.872, allocations: 124.7 kB / 1.185 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.872, allocations: 7.938 kB / 1.185 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.8721, allocations: 30.56 kB / 1.185 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.8721, allocations: 4 kB / 1.185 GB, free: 1.789 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.001163/0.8732, allocations: 432.8 kB / 1.185 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.8733, allocations: 51.41 kB / 1.185 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008325/0.8741, allocations: 0.7459 MB / 1.186 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.8742, allocations: 29.7 kB / 1.186 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.8743, allocations: 228.7 kB / 1.186 GB, free: 284 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.8744, allocations: 39.55 kB / 1.186 GB, free: 244 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.8746, allocations: 157.9 kB / 1.186 GB, free: 80 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8748, allocations: 370.8 kB / 1.187 GB, free: 15.71 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006591/0.8754, allocations: 442.9 kB / 1.187 GB, free: 15.27 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007348/0.8762, allocations: 0.5277 MB / 1.188 GB, free: 14.71 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.8774, allocations: 0.8702 MB / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8774, allocations: 0 / 1.188 GB, free: 13.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001614/0.8791, allocations: 1.065 MB / 1.19 GB, free: 12.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.8791, allocations: 11.98 kB / 1.19 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.8791, allocations: 0 / 1.19 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.8791, allocations: 4 kB / 1.19 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.8796, allocations: 115.8 kB / 1.19 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.8797, allocations: 4 kB / 1.19 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.8801, allocations: 67.34 kB / 1.19 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.8802, allocations: 35.98 kB / 1.19 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007838/0.881, allocations: 0.5403 MB / 1.19 GB, free: 11.97 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006481/0.8816, allocations: 464.4 kB / 1.191 GB, free: 11.49 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001089/0.8827, allocations: 0.7276 MB / 1.191 GB, free: 10.74 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.8828, allocations: 0 / 1.191 GB, free: 10.74 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001503/0.8843, allocations: 0.9261 MB / 1.192 GB, free: 9.801 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.8843, allocations: 4 kB / 1.192 GB, free: 9.797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8843, allocations: 4 kB / 1.192 GB, free: 9.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/0.8843, allocations: 4 kB / 1.192 GB, free: 9.789 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.8847, allocations: 104.2 kB / 1.192 GB, free: 9.688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.8848, allocations: 11.92 kB / 1.192 GB, free: 9.676 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.8852, allocations: 60.2 kB / 1.193 GB, free: 9.617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.8852, allocations: 24 kB / 1.193 GB, free: 9.594 MB / 0.92 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.0001662/0.8854, allocations: 196.1 kB / 1.193 GB, free: 9.395 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.8855, allocations: 51.28 kB / 1.193 GB, free: 9.344 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000916/0.8864, allocations: 362.6 kB / 1.193 GB, free: 8.98 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.8864, allocations: 0 / 1.193 GB, free: 8.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8865, allocations: 0 / 1.193 GB, free: 8.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.8865, allocations: 7.922 kB / 1.193 GB, free: 8.973 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.8869, allocations: 409.2 kB / 1.194 GB, free: 8.523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.8869, allocations: 0 / 1.194 GB, free: 8.523 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.8872, allocations: 43.95 kB / 1.194 GB, free: 8.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.8872, allocations: 4 kB / 1.194 GB, free: 8.477 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.8872, allocations: 8 kB / 1.194 GB, free: 8.469 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8872, allocations: 0 / 1.194 GB, free: 8.469 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8873, allocations: 4 kB / 1.194 GB, free: 8.465 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007977/0.8881, allocations: 430.5 kB / 1.194 GB, free: 8.027 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.8883, allocations: 144.4 kB / 1.194 GB, free: 7.867 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.8883, allocations: 4 kB / 1.194 GB, free: 7.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.8886, allocations: 23.97 kB / 1.194 GB, free: 7.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.8887, allocations: 11.94 kB / 1.194 GB, free: 7.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.8887, allocations: 11.98 kB / 1.194 GB, free: 7.816 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005947/0.8893, allocations: 0.499 MB / 1.195 GB, free: 7.324 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8893, allocations: 0 / 1.195 GB, free: 7.324 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009671/0.8903, allocations: 315.8 kB / 1.195 GB, free: 7.016 MB / 0.92 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.0007413/0.891, allocations: 370.8 kB / 1.195 GB, free: 6.641 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.893, allocations: 1.139 MB / 1.196 GB, free: 5.504 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8931, allocations: 4.062 kB / 1.196 GB, free: 5.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.8934, allocations: 131.8 kB / 1.197 GB, free: 5.371 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008759/0.8943, allocations: 207.4 kB / 1.197 GB, free: 5.172 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.8958, allocations: 0.9602 MB / 1.198 GB, free: 4.18 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.8963, allocations: 0.8895 MB / 1.199 GB, free: 3.262 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.8965, allocations: 55.41 kB / 1.199 GB, free: 3.207 MB / 0.92 GB Notification: Performance of SimCode: time 4.61e-07/0.8965, allocations: 0 / 1.199 GB, free: 3.207 MB / 0.92 GB Notification: Performance of Templates: time 0.0144/0.9109, allocations: 10 MB / 1.208 GB, free: 9.277 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches