Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001662/0.001662, allocations: 104.7 kB / 16.41 MB, free: 6.461 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.001338/0.001339, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8557/0.857, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003286/0.8603, allocations: 2.038 MB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003102/0.8635, allocations: 2.013 MB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.8637, allocations: 3.75 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000804/0.8645, allocations: 267 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008017/0.8653, allocations: 292.3 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.8666, allocations: 496.2 kB / 1.094 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008239/0.8674, allocations: 464 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.8676, allocations: 40.92 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.8679, allocations: 167.5 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003138/0.8682, allocations: 172.8 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.8682, allocations: 15.03 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008743/0.8691, allocations: 454.2 kB / 1.095 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.8693, allocations: 98.58 kB / 1.095 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.8694, allocations: 118.8 kB / 1.095 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.8705, allocations: 0.5773 MB / 1.096 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8705, allocations: 4.844 kB / 1.096 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8705, allocations: 0 / 1.096 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.8705, allocations: 0 / 1.096 GB, free: 1.465 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009162/0.8714, allocations: 0.5955 MB / 1.096 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.8715, allocations: 9.344 kB / 1.096 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009211/0.8724, allocations: 139.6 kB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.8729, allocations: 334.3 kB / 1.097 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.8729, allocations: 8.5 kB / 1.097 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.8729, allocations: 7.656 kB / 1.097 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.8735, allocations: 202 kB / 1.097 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.8735, allocations: 4.438 kB / 1.097 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.8736, allocations: 8.531 kB / 1.097 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.8736, allocations: 3.094 kB / 1.097 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/0.8744, allocations: 200.4 kB / 1.097 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.8755, allocations: 0.553 MB / 1.098 GB, free: 128 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007337/0.8762, allocations: 209.9 kB / 1.098 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.8766, allocations: 98.33 kB / 1.098 GB, free: 24 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.8767, allocations: 10.97 kB / 1.098 GB, free: 16 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.8767, allocations: 31.62 kB / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.8767, allocations: 0 / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.001341/0.8781, allocations: 342.4 kB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.8781, allocations: 53.11 kB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.8786, allocations: 338.5 kB / 1.099 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.8786, allocations: 26.83 kB / 1.099 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.8788, allocations: 162.1 kB / 1.099 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.8788, allocations: 29.38 kB / 1.099 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.8789, allocations: 50.47 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.8791, allocations: 338.5 kB / 1.099 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.8796, allocations: 156.4 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.8801, allocations: 199.4 kB / 1.1 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/0.8811, allocations: 346.5 kB / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8811, allocations: 0 / 1.1 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001132/0.8822, allocations: 410.6 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.8822, allocations: 10.06 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.8823, allocations: 1.156 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.8823, allocations: 4.297 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.8826, allocations: 59.62 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.8827, allocations: 8.438 kB / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.883, allocations: 40.41 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.883, allocations: 14.14 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000553/0.8836, allocations: 248.5 kB / 1.101 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004671/0.884, allocations: 182.8 kB / 1.101 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008373/0.8849, allocations: 302.5 kB / 1.101 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.514e-06/0.8849, allocations: 1.406 kB / 1.101 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.001127/0.886, allocations: 361 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.8861, allocations: 6.828 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8861, allocations: 1.688 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.8861, allocations: 7.188 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.8865, allocations: 66.33 kB / 1.102 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.8865, allocations: 3.234 kB / 1.102 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.8868, allocations: 36.45 kB / 1.102 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.8868, allocations: 15.69 kB / 1.102 GB, free: 14.1 MB / 0.8731 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 (19): * Single equations (assignments): 18 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001443/0.887, allocations: 187.4 kB / 1.102 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.887, allocations: 27.73 kB / 1.102 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000942/0.888, allocations: 275.1 kB / 1.102 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.888, allocations: 8.625 kB / 1.102 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.888, allocations: 5.5 kB / 1.102 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.888, allocations: 0.7969 kB / 1.102 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.8884, allocations: 290.4 kB / 1.102 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8884, allocations: 1.719 kB / 1.102 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.8887, allocations: 41.48 kB / 1.102 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8887, allocations: 5.031 kB / 1.102 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.8887, allocations: 3.875 kB / 1.102 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.8887, allocations: 0 / 1.102 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.8887, allocations: 4.453 kB / 1.102 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.8896, allocations: 351.3 kB / 1.103 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.8897, allocations: 115.2 kB / 1.103 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.8897, allocations: 2.062 kB / 1.103 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.89, allocations: 25.69 kB / 1.103 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.89, allocations: 14.47 kB / 1.103 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.8901, allocations: 5.5 kB / 1.103 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002776/0.8904, allocations: 236.8 kB / 1.103 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8904, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007455/0.8911, allocations: 154 kB / 1.103 GB, free: 13.06 MB / 0.8731 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 (10): * Single equations (assignments): 10 * 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.0004712/0.8916, allocations: 202.7 kB / 1.103 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.893, allocations: 441.9 kB / 1.104 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.893, allocations: 0 / 1.104 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.8934, allocations: 107 kB / 1.104 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.894, allocations: 112.3 kB / 1.104 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.8951, allocations: 0.5268 MB / 1.105 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.8955, allocations: 0.7681 MB / 1.105 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.8956, allocations: 35.44 kB / 1.105 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/0.8957, allocations: 0 / 1.105 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.01152/0.9072, allocations: 5.548 MB / 1.111 GB, free: 11.23 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches