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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001199/0.001199, allocations: 108 kB / 15.61 MB, free: 152 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.001246/0.001246, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.741/2.741, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 65.48 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3065, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00409/0.3107, allocations: 2.309 MB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00667/0.3174, allocations: 3.787 MB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002951/0.3177, allocations: 8 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00578/0.3235, allocations: 2.999 MB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008479/0.3244, allocations: 394.5 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.3256, allocations: 0.5058 MB / 1.078 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004185/0.3298, allocations: 3.093 MB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.33, allocations: 52.66 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.3303, allocations: 207.3 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.3305, allocations: 211.1 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.3306, allocations: 16 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.3318, allocations: 0.7409 MB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.332, allocations: 219.3 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.3322, allocations: 238.6 kB / 1.083 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.3334, allocations: 1.005 MB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3334, allocations: 0 / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3334, allocations: 0 / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.3334, allocations: 0 / 1.084 GB, free: 10.64 MB / 0.8419 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.001307/0.3347, allocations: 0.8905 MB / 1.084 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3348, allocations: 8.031 kB / 1.084 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.3361, allocations: 208 kB / 1.085 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.338, allocations: 0.9522 MB / 1.086 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.338, allocations: 11.98 kB / 1.086 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.3381, allocations: 12 kB / 1.086 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005919/0.3387, allocations: 258.4 kB / 1.086 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3387, allocations: 0 / 1.086 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.3387, allocations: 4 kB / 1.086 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3387, allocations: 4 kB / 1.086 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000756/0.3395, allocations: 243.8 kB / 1.086 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.3409, allocations: 0.8275 MB / 1.087 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008187/0.3417, allocations: 306.6 kB / 1.087 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.3421, allocations: 124.8 kB / 1.087 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.3421, allocations: 4 kB / 1.087 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.3422, allocations: 38.56 kB / 1.087 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.3422, allocations: 0 / 1.087 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.001321/0.3435, allocations: 436.7 kB / 1.088 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.3436, allocations: 55.41 kB / 1.088 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007636/0.3443, allocations: 0.7419 MB / 1.089 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.3444, allocations: 29.7 kB / 1.089 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3445, allocations: 229 kB / 1.089 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.3446, allocations: 35.55 kB / 1.089 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.3448, allocations: 158 kB / 1.089 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.345, allocations: 370.8 kB / 1.089 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007111/0.3457, allocations: 450.9 kB / 1.09 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007651/0.3465, allocations: 0.5239 MB / 1.09 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.3478, allocations: 0.8702 MB / 1.091 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.3478, allocations: 4 kB / 1.091 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001698/0.3495, allocations: 1.08 MB / 1.092 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3496, allocations: 4 kB / 1.092 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3496, allocations: 224 / 1.092 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3496, allocations: 8 kB / 1.092 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.3502, allocations: 107.9 kB / 1.092 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3502, allocations: 4 kB / 1.092 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.3506, allocations: 87.27 kB / 1.092 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.3507, allocations: 28 kB / 1.092 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008151/0.3515, allocations: 0.5442 MB / 1.093 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007015/0.3522, allocations: 468.4 kB / 1.093 GB, free: 276 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001246/0.3535, allocations: 0.7316 MB / 1.094 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.098e-06/0.3535, allocations: 0 / 1.094 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.0015/0.355, allocations: 0.9182 MB / 1.095 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.355, allocations: 4 kB / 1.095 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.355, allocations: 12.2 kB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.585e-06/0.355, allocations: 4 kB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.3555, allocations: 111.8 kB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3555, allocations: 4 kB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.3559, allocations: 67.55 kB / 1.095 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.356, allocations: 24 kB / 1.095 GB, free: 14.36 MB / 0.8575 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.0001607/0.3562, allocations: 196.7 kB / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.3562, allocations: 47.34 kB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.3573, allocations: 370.5 kB / 1.096 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3573, allocations: 4 kB / 1.096 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3574, allocations: 0 / 1.096 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3574, allocations: 0 / 1.096 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.3579, allocations: 409.2 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3579, allocations: 0 / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.3582, allocations: 39.97 kB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3582, allocations: 4 kB / 1.096 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3582, allocations: 7.984 kB / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3582, allocations: 0 / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3582, allocations: 0 / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/0.3591, allocations: 426.6 kB / 1.097 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.3593, allocations: 152.3 kB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/0.3594, allocations: 8 kB / 1.097 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.3597, allocations: 15.98 kB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.3598, allocations: 11.98 kB / 1.097 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.3598, allocations: 11.98 kB / 1.097 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005867/0.3604, allocations: 0.4912 MB / 1.097 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3604, allocations: 0 / 1.097 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009832/0.3614, allocations: 315.9 kB / 1.098 GB, free: 11.79 MB / 0.8575 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.0007781/0.3622, allocations: 371.5 kB / 1.098 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.3643, allocations: 1.146 MB / 1.099 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3643, allocations: 0 / 1.099 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.3647, allocations: 139.8 kB / 1.099 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008718/0.3656, allocations: 214.2 kB / 1.099 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.367, allocations: 0.9583 MB / 1.1 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.3675, allocations: 0.8934 MB / 1.101 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000673/0.3682, allocations: 184.2 kB / 1.101 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.3684, allocations: 59.41 kB / 1.101 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of SimCode: time 7.41e-07/0.3684, allocations: 0 / 1.101 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of Templates: time 0.02015/0.3885, allocations: 12.3 MB / 1.114 GB, free: 11.61 MB / 0.8731 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/jenkins/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