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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00138/0.00138, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.00151/0.00151, allocations: 191 kB / 17.29 MB, free: 5.516 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.465/2.465, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002047, allocations: 77.56 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2869, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00339/0.2903, allocations: 2.317 MB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005334/0.2957, allocations: 3.792 MB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.2958, allocations: 7.938 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00517/0.3011, allocations: 3.007 MB / 1.036 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007983/0.3019, allocations: 398.5 kB / 1.036 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.3029, allocations: 0.5068 MB / 1.036 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004122/0.307, allocations: 3.089 MB / 1.04 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.3072, allocations: 56.64 kB / 1.04 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.3075, allocations: 199.3 kB / 1.04 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.3078, allocations: 211.1 kB / 1.04 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.3078, allocations: 23.98 kB / 1.04 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.3089, allocations: 0.737 MB / 1.041 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.3091, allocations: 223.3 kB / 1.041 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.3094, allocations: 234.6 kB / 1.041 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.3105, allocations: 1.013 MB / 1.042 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3106, allocations: 0 / 1.042 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3106, allocations: 0 / 1.042 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.3106, allocations: 0 / 1.042 GB, free: 2.254 MB / 0.8106 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.0013/0.3119, allocations: 0.8905 MB / 1.043 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3119, allocations: 8.031 kB / 1.043 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.3131, allocations: 204 kB / 1.043 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.315, allocations: 0.9638 MB / 1.044 GB, free: 104 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.315, allocations: 8 kB / 1.044 GB, free: 96 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.315, allocations: 16 kB / 1.044 GB, free: 80 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.3156, allocations: 262.1 kB / 1.044 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3156, allocations: 0 / 1.044 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.3156, allocations: 0 / 1.044 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3156, allocations: 4 kB / 1.044 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000608/0.3163, allocations: 231.8 kB / 1.045 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3175, allocations: 0.82 MB / 1.045 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.3182, allocations: 294.7 kB / 1.046 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.3185, allocations: 124.7 kB / 1.046 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.3185, allocations: 4 kB / 1.046 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3185, allocations: 34.5 kB / 1.046 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3185, allocations: 0 / 1.046 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.001106/0.3197, allocations: 452.6 kB / 1.046 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.3197, allocations: 51.41 kB / 1.046 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.3205, allocations: 0.7381 MB / 1.047 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.3205, allocations: 29.7 kB / 1.047 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.3207, allocations: 228.8 kB / 1.047 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.3207, allocations: 39.45 kB / 1.047 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.3209, allocations: 158 kB / 1.048 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.321, allocations: 370.8 kB / 1.048 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/0.3217, allocations: 439 kB / 1.048 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006799/0.3224, allocations: 0.5239 MB / 1.049 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.3235, allocations: 0.8702 MB / 1.05 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3235, allocations: 3.938 kB / 1.05 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001468/0.325, allocations: 1.076 MB / 1.051 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.325, allocations: 8 kB / 1.051 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3251, allocations: 0 / 1.051 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3251, allocations: 4 kB / 1.051 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.3256, allocations: 111.9 kB / 1.051 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3256, allocations: 15.92 kB / 1.051 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.326, allocations: 67.91 kB / 1.051 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.326, allocations: 35.98 kB / 1.051 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007042/0.3267, allocations: 0.5403 MB / 1.051 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005918/0.3273, allocations: 460.5 kB / 1.052 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001004/0.3284, allocations: 0.7276 MB / 1.053 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.3284, allocations: 4 kB / 1.053 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001358/0.3297, allocations: 0.9184 MB / 1.054 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.3298, allocations: 4 kB / 1.054 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3298, allocations: 7.938 kB / 1.054 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-06/0.3298, allocations: 4 kB / 1.054 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.3302, allocations: 103.9 kB / 1.054 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3302, allocations: 4 kB / 1.054 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.3306, allocations: 63.58 kB / 1.054 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.3306, allocations: 24 kB / 1.054 GB, free: 6.035 MB / 0.8262 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.0001375/0.3308, allocations: 200.1 kB / 1.054 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/0.3309, allocations: 55.19 kB / 1.054 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008649/0.3317, allocations: 366.8 kB / 1.054 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.3318, allocations: 3.984 kB / 1.054 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3318, allocations: 0 / 1.054 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3318, allocations: 3.984 kB / 1.054 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.3322, allocations: 401.3 kB / 1.055 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3322, allocations: 0 / 1.055 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.3324, allocations: 47.89 kB / 1.055 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3325, allocations: 4 kB / 1.055 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3325, allocations: 4 kB / 1.055 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3325, allocations: 0 / 1.055 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.3325, allocations: 4 kB / 1.055 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007114/0.3332, allocations: 414.6 kB / 1.055 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.3334, allocations: 152.3 kB / 1.055 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.3335, allocations: 7.984 kB / 1.055 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.3337, allocations: 19.98 kB / 1.055 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.3338, allocations: 7.984 kB / 1.055 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.3338, allocations: 12 kB / 1.055 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005079/0.3343, allocations: 0.4912 MB / 1.056 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3344, allocations: 0 / 1.056 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008632/0.3352, allocations: 311.9 kB / 1.056 GB, free: 3.469 MB / 0.8262 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.0006757/0.3359, allocations: 381.7 kB / 1.056 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.3377, allocations: 1.135 MB / 1.058 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3377, allocations: 3.938 kB / 1.058 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.338, allocations: 135.9 kB / 1.058 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/0.3388, allocations: 202.8 kB / 1.058 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.3402, allocations: 0.9274 MB / 1.059 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.3406, allocations: 0.8971 MB / 1.06 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005194/0.3412, allocations: 200.2 kB / 1.06 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.3413, allocations: 51.41 kB / 1.06 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3413, allocations: 0 / 1.06 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.01814/0.3595, allocations: 12.29 MB / 1.072 GB, free: 3.34 MB / 0.8419 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 -s gbode -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