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.001452/0.001452, allocations: 114.4 kB / 16.42 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.001532/0.001532, allocations: 185.5 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.825/1.825, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.562/2.562, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7078, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003363/0.7112, allocations: 2.305 MB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005639/0.7169, allocations: 3.787 MB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.7171, allocations: 7.938 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.7196, allocations: 1.04 MB / 1.215 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007494/0.7203, allocations: 421.6 kB / 1.216 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009442/0.7213, allocations: 0.5146 MB / 1.216 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004283/0.7256, allocations: 3.146 MB / 1.219 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.7257, allocations: 48.72 kB / 1.219 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.726, allocations: 231.2 kB / 1.22 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.7263, allocations: 211.2 kB / 1.22 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.7263, allocations: 20 kB / 1.22 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.7274, allocations: 0.7447 MB / 1.221 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.7276, allocations: 215.5 kB / 1.221 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.7278, allocations: 246.5 kB / 1.221 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.729, allocations: 1.032 MB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.729, allocations: 0 / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.012e-06/0.729, allocations: 0 / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.729, allocations: 4 kB / 1.222 GB, free: 15.61 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.001353/0.7304, allocations: 0.8866 MB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.7304, allocations: 8.031 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.7317, allocations: 212 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.7337, allocations: 0.9755 MB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.7337, allocations: 8 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.7337, allocations: 8 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.7343, allocations: 253.4 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.7343, allocations: 0 / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.7343, allocations: 8 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.7343, allocations: 0 / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/0.735, allocations: 239.8 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.7363, allocations: 0.8278 MB / 1.225 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.737, allocations: 298.6 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.7373, allocations: 132.7 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.7373, allocations: 3.984 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.7374, allocations: 38.55 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7374, allocations: 0 / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.001168/0.7385, allocations: 432.8 kB / 1.226 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.7386, allocations: 55.41 kB / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007894/0.7394, allocations: 0.7381 MB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.7394, allocations: 33.7 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.7396, allocations: 224.7 kB / 1.227 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.7397, allocations: 43.53 kB / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.7399, allocations: 157.8 kB / 1.227 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.74, allocations: 370.8 kB / 1.228 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006876/0.7407, allocations: 442.9 kB / 1.228 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/0.7415, allocations: 0.5282 MB / 1.229 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.7428, allocations: 0.8663 MB / 1.23 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7428, allocations: 0 / 1.23 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001613/0.7444, allocations: 1.069 MB / 1.231 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7444, allocations: 11.88 kB / 1.231 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.7444, allocations: 8 kB / 1.231 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.7445, allocations: 4 kB / 1.231 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.745, allocations: 111.9 kB / 1.231 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.745, allocations: 0 / 1.231 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.7454, allocations: 79.34 kB / 1.231 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.7455, allocations: 31.98 kB / 1.231 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007769/0.7462, allocations: 0.5443 MB / 1.231 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006563/0.7469, allocations: 464.4 kB / 1.232 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001106/0.748, allocations: 0.7237 MB / 1.233 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.086e-05/0.7481, allocations: 3.984 kB / 1.233 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001449/0.7495, allocations: 0.9103 MB / 1.233 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.7495, allocations: 18.03 kB / 1.233 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.7495, allocations: 0 / 1.233 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.7496, allocations: 4 kB / 1.233 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.75, allocations: 111.8 kB / 1.234 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.75, allocations: 4 kB / 1.234 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.7505, allocations: 63.66 kB / 1.234 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.7505, allocations: 27.98 kB / 1.234 GB, free: 3.363 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.0001487/0.7507, allocations: 192.2 kB / 1.234 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.809e-05/0.7508, allocations: 51.28 kB / 1.234 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008681/0.7516, allocations: 358.6 kB / 1.234 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7516, allocations: 0 / 1.234 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7517, allocations: 4 kB / 1.234 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.7518, allocations: 144.3 kB / 1.234 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.7519, allocations: 7.938 kB / 1.234 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.7522, allocations: 19.97 kB / 1.234 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.7522, allocations: 19.92 kB / 1.234 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008502/0.7531, allocations: 368.7 kB / 1.235 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000787/0.7539, allocations: 0.5018 MB / 1.235 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002998/0.7542, allocations: 119.9 kB / 1.235 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005429/0.7548, allocations: 0.4951 MB / 1.236 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of Backend: time 5.81e-07/0.7548, allocations: 0 / 1.236 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002718/0.7575, allocations: 1.37 MB / 1.237 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001913/0.7594, allocations: 1.511 MB / 1.239 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of Templates: time 0.02118/0.7806, allocations: 14.41 MB / 1.253 GB, free: 15.83 MB / 0.9825 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