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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001481/0.001481, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001466/0.001466, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.584/2.584, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8047/0.806, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003473/0.8095, allocations: 2.317 MB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005625/0.8151, allocations: 3.783 MB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.8155, allocations: 4 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.8184, allocations: 1.047 MB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009981/0.8194, allocations: 418.4 kB / 1.216 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.8207, allocations: 0.5145 MB / 1.216 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004556/0.8252, allocations: 3.153 MB / 1.219 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.8254, allocations: 40.73 kB / 1.219 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/0.8258, allocations: 231.2 kB / 1.22 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.8261, allocations: 211.2 kB / 1.22 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.278e-05/0.8262, allocations: 20 kB / 1.22 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.8275, allocations: 0.7525 MB / 1.221 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.8278, allocations: 215.4 kB / 1.221 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.8281, allocations: 246.6 kB / 1.221 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.8295, allocations: 1.02 MB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8295, allocations: 0 / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8295, allocations: 0 / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.8295, allocations: 0 / 1.222 GB, free: 15.63 MB / 0.9512 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.001462/0.831, allocations: 0.8945 MB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.831, allocations: 8.031 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.8323, allocations: 208 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.8343, allocations: 0.9754 MB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.8343, allocations: 8 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.8344, allocations: 12 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.8349, allocations: 261.4 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.835, allocations: 0 / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.835, allocations: 0 / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.835, allocations: 0 / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006382/0.8356, allocations: 239.8 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.837, allocations: 0.8316 MB / 1.225 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/0.8377, allocations: 302.6 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.838, allocations: 128.7 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.8381, allocations: 3.984 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.8381, allocations: 46.55 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.744e-06/0.8381, allocations: 4 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.00119/0.8393, allocations: 424.8 kB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.8394, allocations: 59.39 kB / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008144/0.8402, allocations: 0.7459 MB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.8402, allocations: 29.7 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.8404, allocations: 220.7 kB / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.8405, allocations: 39.55 kB / 1.227 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.8407, allocations: 157.9 kB / 1.227 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.8408, allocations: 370.8 kB / 1.228 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/0.8415, allocations: 446.9 kB / 1.228 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007252/0.8423, allocations: 0.5277 MB / 1.229 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.8435, allocations: 0.8586 MB / 1.23 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8435, allocations: 0 / 1.23 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001657/0.8452, allocations: 1.08 MB / 1.231 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8452, allocations: 4 kB / 1.231 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8452, allocations: 4 kB / 1.231 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.8453, allocations: 4 kB / 1.231 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.8458, allocations: 119.8 kB / 1.231 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.8458, allocations: 4 kB / 1.231 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.8462, allocations: 71.34 kB / 1.231 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/0.8463, allocations: 31.98 kB / 1.231 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007685/0.8471, allocations: 0.5365 MB / 1.231 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006637/0.8477, allocations: 472.4 kB / 1.232 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001128/0.8489, allocations: 0.7198 MB / 1.233 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.8489, allocations: 0 / 1.233 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001515/0.8504, allocations: 0.9261 MB / 1.233 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.8504, allocations: 4 kB / 1.233 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8504, allocations: 4 kB / 1.233 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-06/0.8505, allocations: 4.375 kB / 1.233 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.8509, allocations: 99.88 kB / 1.234 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.8509, allocations: 11.98 kB / 1.234 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/0.8513, allocations: 63.59 kB / 1.234 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.8514, allocations: 27.92 kB / 1.234 GB, free: 3.375 MB / 0.9512 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.000175/0.8516, allocations: 196.2 kB / 1.234 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.8517, allocations: 55.28 kB / 1.234 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00095/0.8526, allocations: 350.6 kB / 1.234 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.8526, allocations: 7.938 kB / 1.234 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8527, allocations: 0 / 1.234 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8527, allocations: 3.938 kB / 1.234 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.8532, allocations: 409.2 kB / 1.235 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8532, allocations: 0 / 1.235 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.8534, allocations: 43.97 kB / 1.235 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.8534, allocations: 0 / 1.235 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.8535, allocations: 7.984 kB / 1.235 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.8535, allocations: 0 / 1.235 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8535, allocations: 0 / 1.235 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.8543, allocations: 426.6 kB / 1.235 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.8545, allocations: 156.3 kB / 1.235 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.8546, allocations: 0 / 1.235 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.8549, allocations: 27.97 kB / 1.235 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.8549, allocations: 11.92 kB / 1.235 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.8549, allocations: 8 kB / 1.235 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006118/0.8556, allocations: 0.499 MB / 1.236 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8556, allocations: 0 / 1.236 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009584/0.8565, allocations: 315.8 kB / 1.236 GB, free: 0.8008 MB / 0.9512 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.0008567/0.8574, allocations: 362.9 kB / 1.236 GB, free: 444 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.8595, allocations: 1.146 MB / 1.238 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8595, allocations: 0 / 1.238 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003481/0.8599, allocations: 135.8 kB / 1.238 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009473/0.8608, allocations: 203.9 kB / 1.238 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.8625, allocations: 0.9562 MB / 1.239 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.863, allocations: 0.8856 MB / 1.24 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.8632, allocations: 59.39 kB / 1.24 GB, free: 13 MB / 0.9669 GB Notification: Performance of SimCode: time 8.32e-07/0.8632, allocations: 0 / 1.24 GB, free: 13 MB / 0.9669 GB Notification: Performance of Templates: time 0.01579/0.879, allocations: 10.01 MB / 1.249 GB, free: 3.059 MB / 0.9669 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