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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001658/0.001658, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001938/0.001938, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 71.17 kB / 0.8707 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3326, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003769/0.3364, allocations: 2.308 MB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005657/0.3421, allocations: 3.789 MB / 1.025 GB, free: 3.684 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.3423, allocations: 8 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005371/0.3477, allocations: 2.997 MB / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008312/0.3486, allocations: 402.5 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3497, allocations: 0.5097 MB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005127/0.3548, allocations: 3.097 MB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.355, allocations: 40.69 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.3554, allocations: 203.3 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.3558, allocations: 207.2 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.3558, allocations: 20 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.3575, allocations: 0.7525 MB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.3578, allocations: 215.4 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.358, allocations: 234.6 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.3598, allocations: 1.016 MB / 1.034 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3598, allocations: 0 / 1.034 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3598, allocations: 0 / 1.034 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.3598, allocations: 0 / 1.034 GB, free: 9.992 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.001562/0.3614, allocations: 0.8789 MB / 1.035 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3615, allocations: 16.88 kB / 1.035 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.3627, allocations: 215.9 kB / 1.035 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.3647, allocations: 0.9599 MB / 1.036 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.3647, allocations: 8 kB / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.3648, allocations: 12 kB / 1.036 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.3653, allocations: 258.5 kB / 1.036 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.3653, allocations: 0 / 1.036 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.3653, allocations: 4 kB / 1.036 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3653, allocations: 3.984 kB / 1.036 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006185/0.366, allocations: 239.8 kB / 1.037 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.3673, allocations: 0.8237 MB / 1.038 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.368, allocations: 298.6 kB / 1.038 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.3683, allocations: 128.7 kB / 1.038 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.3683, allocations: 3.984 kB / 1.038 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.3684, allocations: 34.56 kB / 1.038 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.844e-06/0.3684, allocations: 7.938 kB / 1.038 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.001118/0.3695, allocations: 432.6 kB / 1.038 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.3696, allocations: 63.41 kB / 1.038 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007495/0.3703, allocations: 0.7341 MB / 1.039 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.3704, allocations: 29.7 kB / 1.039 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.3705, allocations: 228.7 kB / 1.039 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.3706, allocations: 39.45 kB / 1.039 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.3708, allocations: 158 kB / 1.04 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.371, allocations: 374.8 kB / 1.04 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000674/0.3716, allocations: 446.9 kB / 1.04 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/0.3724, allocations: 0.5161 MB / 1.041 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.3736, allocations: 0.8663 MB / 1.042 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3736, allocations: 4 kB / 1.042 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00162/0.3753, allocations: 1.072 MB / 1.043 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3753, allocations: 8 kB / 1.043 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3753, allocations: 0 / 1.043 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3753, allocations: 4 kB / 1.043 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.3758, allocations: 119.8 kB / 1.043 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3758, allocations: 4 kB / 1.043 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.3763, allocations: 71.34 kB / 1.043 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.3763, allocations: 28 kB / 1.043 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007968/0.3771, allocations: 0.5449 MB / 1.044 GB, free: 132 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006826/0.3778, allocations: 468.4 kB / 1.044 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001072/0.3789, allocations: 0.7159 MB / 1.045 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.3789, allocations: 0 / 1.045 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001445/0.3804, allocations: 0.9223 MB / 1.046 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.3804, allocations: 4 kB / 1.046 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3804, allocations: 4 kB / 1.046 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/0.3804, allocations: 4 kB / 1.046 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.3809, allocations: 103.9 kB / 1.046 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.3809, allocations: 11.92 kB / 1.046 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.3813, allocations: 60.59 kB / 1.046 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/0.3814, allocations: 27.98 kB / 1.046 GB, free: 13.77 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.0001818/0.3816, allocations: 192.2 kB / 1.046 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.1e-05/0.3817, allocations: 55.19 kB / 1.046 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009332/0.3826, allocations: 366.4 kB / 1.046 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3826, allocations: 4 kB / 1.046 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3826, allocations: 0 / 1.046 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3826, allocations: 0 / 1.046 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.3831, allocations: 401.3 kB / 1.047 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3832, allocations: 0 / 1.047 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.3834, allocations: 51.95 kB / 1.047 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3834, allocations: 0 / 1.047 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.3834, allocations: 4 kB / 1.047 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3835, allocations: 0 / 1.047 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3835, allocations: 0 / 1.047 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000737/0.3842, allocations: 434.5 kB / 1.047 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.3844, allocations: 152.3 kB / 1.047 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.3845, allocations: 0 / 1.047 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.3847, allocations: 19.98 kB / 1.047 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.3848, allocations: 7.984 kB / 1.047 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.3848, allocations: 11.98 kB / 1.047 GB, free: 12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005266/0.3854, allocations: 0.4951 MB / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3854, allocations: 0 / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009408/0.3863, allocations: 311.9 kB / 1.048 GB, free: 11.2 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.0007804/0.3871, allocations: 378.8 kB / 1.049 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001892/0.389, allocations: 1.135 MB / 1.05 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.389, allocations: 4.312 kB / 1.05 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.3894, allocations: 135.8 kB / 1.05 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008292/0.3902, allocations: 205.8 kB / 1.05 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.3918, allocations: 0.9196 MB / 1.051 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.3923, allocations: 0.8934 MB / 1.052 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005336/0.3929, allocations: 196.1 kB / 1.052 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.393, allocations: 51.41 kB / 1.052 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3931, allocations: 4 kB / 1.052 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of Templates: time 0.02015/0.4132, allocations: 12.29 MB / 1.064 GB, free: 11.08 MB / 0.8419 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 -s cvode -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/jenkins1/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