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.001134/0.001134, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001308, allocations: 189.2 kB / 16.66 MB, free: 6.582 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.578/2.578, allocations: 437 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.89 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2831, allocations: 151.6 MB / 1.167 GB, free: 6.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00331/0.2865, allocations: 2.307 MB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005439/0.2919, allocations: 3.777 MB / 1.173 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.2921, allocations: 15.88 kB / 1.173 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002389/0.2945, allocations: 1.044 MB / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007359/0.2953, allocations: 422.4 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009215/0.2962, allocations: 0.5107 MB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004126/0.3003, allocations: 3.16 MB / 1.178 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3005, allocations: 52.72 kB / 1.178 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.3008, allocations: 219.3 kB / 1.178 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.301, allocations: 211.2 kB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.3011, allocations: 20 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.3021, allocations: 0.7525 MB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.3023, allocations: 215.4 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.3025, allocations: 238.6 kB / 1.179 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.3036, allocations: 1.031 MB / 1.18 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3037, allocations: 4 kB / 1.18 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3037, allocations: 4 kB / 1.18 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.3037, allocations: 0 / 1.18 GB, free: 8.836 MB / 0.9356 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.00135/0.305, allocations: 0.913 MB / 1.181 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3051, allocations: 11.98 kB / 1.181 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.3064, allocations: 216.4 kB / 1.181 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.3083, allocations: 0.972 MB / 1.182 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3083, allocations: 12 kB / 1.182 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.3084, allocations: 12 kB / 1.182 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.3089, allocations: 259.7 kB / 1.183 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.309, allocations: 4 kB / 1.183 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.309, allocations: 4 kB / 1.183 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.309, allocations: 4 kB / 1.183 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000682/0.3097, allocations: 235.8 kB / 1.183 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.311, allocations: 0.8163 MB / 1.184 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.3117, allocations: 310.6 kB / 1.184 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.312, allocations: 128.7 kB / 1.184 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.3121, allocations: 7.984 kB / 1.184 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3121, allocations: 30.56 kB / 1.184 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.3121, allocations: 0 / 1.184 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.001193/0.3133, allocations: 445 kB / 1.184 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.3133, allocations: 51.41 kB / 1.185 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007865/0.3141, allocations: 0.746 MB / 1.185 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.3142, allocations: 29.69 kB / 1.185 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.3143, allocations: 228.9 kB / 1.185 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.3144, allocations: 43.67 kB / 1.186 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.3146, allocations: 162 kB / 1.186 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3147, allocations: 366.8 kB / 1.186 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/0.3154, allocations: 450.9 kB / 1.186 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007474/0.3162, allocations: 0.5239 MB / 1.187 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.3175, allocations: 0.8624 MB / 1.188 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3175, allocations: 4 kB / 1.188 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001681/0.3192, allocations: 1.069 MB / 1.189 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3192, allocations: 8 kB / 1.189 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3192, allocations: 4 kB / 1.189 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3192, allocations: 4 kB / 1.189 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/0.3197, allocations: 111.8 kB / 1.189 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3197, allocations: 4 kB / 1.189 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.3202, allocations: 75.58 kB / 1.189 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.3202, allocations: 32 kB / 1.189 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007626/0.321, allocations: 0.5425 MB / 1.19 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006499/0.3216, allocations: 468.4 kB / 1.19 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001153/0.3228, allocations: 0.7237 MB / 1.191 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.235e-06/0.3228, allocations: 0 / 1.191 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001517/0.3243, allocations: 0.9223 MB / 1.192 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.3244, allocations: 4 kB / 1.192 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3244, allocations: 8.219 kB / 1.192 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/0.3244, allocations: 7.938 kB / 1.192 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.3248, allocations: 107.8 kB / 1.192 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.3248, allocations: 4 kB / 1.192 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.3252, allocations: 67.69 kB / 1.192 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.3253, allocations: 27.91 kB / 1.192 GB, free: 12.53 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.0001419/0.3254, allocations: 196.2 kB / 1.192 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.3255, allocations: 55.56 kB / 1.192 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009407/0.3265, allocations: 362.9 kB / 1.192 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3265, allocations: 0 / 1.192 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3265, allocations: 3.984 kB / 1.192 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3265, allocations: 0 / 1.192 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.327, allocations: 412.9 kB / 1.193 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.327, allocations: 3.984 kB / 1.193 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.3272, allocations: 35.97 kB / 1.193 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3272, allocations: 3.938 kB / 1.193 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.3273, allocations: 12 kB / 1.193 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3273, allocations: 0 / 1.193 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3273, allocations: 0 / 1.193 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008063/0.3281, allocations: 430.9 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.3282, allocations: 144.7 kB / 1.193 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.654e-05/0.3283, allocations: 4 kB / 1.193 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.3286, allocations: 27.97 kB / 1.194 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.3287, allocations: 4 kB / 1.194 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.3287, allocations: 11.98 kB / 1.194 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005468/0.3293, allocations: 0.4951 MB / 1.194 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.3293, allocations: 0 / 1.194 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000883/0.3302, allocations: 323.5 kB / 1.194 GB, free: 9.949 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.0007018/0.3309, allocations: 370.5 kB / 1.195 GB, free: 9.574 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001918/0.3328, allocations: 1.143 MB / 1.196 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3328, allocations: 0 / 1.196 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.3332, allocations: 136.2 kB / 1.196 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008556/0.334, allocations: 201.9 kB / 1.196 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.3355, allocations: 0.9497 MB / 1.197 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.336, allocations: 0.9012 MB / 1.198 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005537/0.3366, allocations: 192.1 kB / 1.198 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.3367, allocations: 55.41 kB / 1.198 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of SimCode: time 7.02e-07/0.3367, allocations: 0 / 1.198 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of Templates: time 0.02086/0.3576, allocations: 12.37 MB / 1.21 GB, free: 9.719 MB / 0.9669 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/jenkins/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