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.001359/0.001358, allocations: 108 kB / 15.6 MB, free: 132 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.001526/0.001527, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.871/2.871, allocations: 437 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6018/0.6038, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003927/0.6077, allocations: 2.297 MB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006512/0.6143, allocations: 3.789 MB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.6145, allocations: 11.94 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005875/0.6204, allocations: 2.997 MB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008714/0.6213, allocations: 398.4 kB / 1.027 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.6225, allocations: 0.5068 MB / 1.027 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004652/0.6272, allocations: 3.101 MB / 1.03 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.6273, allocations: 36.73 kB / 1.03 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.6276, allocations: 207.3 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.628, allocations: 207.2 kB / 1.031 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.628, allocations: 20 kB / 1.031 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.6293, allocations: 0.7447 MB / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.6295, allocations: 203.5 kB / 1.031 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.6298, allocations: 246.5 kB / 1.032 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.6311, allocations: 1.009 MB / 1.033 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6311, allocations: 0 / 1.033 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6311, allocations: 0 / 1.033 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.6312, allocations: 0 / 1.033 GB, free: 2.703 MB / 0.7794 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.001462/0.6326, allocations: 0.8827 MB / 1.034 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6327, allocations: 11.98 kB / 1.034 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.634, allocations: 212 kB / 1.034 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.636, allocations: 0.956 MB / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.6361, allocations: 11.98 kB / 1.035 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.6361, allocations: 16 kB / 1.035 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.6367, allocations: 254.5 kB / 1.035 GB, free: 280 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6368, allocations: 0 / 1.035 GB, free: 280 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.6368, allocations: 8 kB / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.6368, allocations: 0 / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007597/0.6376, allocations: 239.8 kB / 1.035 GB, free: 32 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.639, allocations: 0.8199 MB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008384/0.6399, allocations: 310.6 kB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.6403, allocations: 128.8 kB / 1.036 GB, free: 14.72 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.6403, allocations: 11.98 kB / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.6404, allocations: 30.56 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 3.186e-06/0.6404, allocations: 0 / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.001352/0.6417, allocations: 448.5 kB / 1.037 GB, free: 14.22 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.6418, allocations: 55.41 kB / 1.037 GB, free: 14.16 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008581/0.6427, allocations: 0.7381 MB / 1.038 GB, free: 13.41 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.6427, allocations: 29.7 kB / 1.038 GB, free: 13.38 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.6429, allocations: 228.7 kB / 1.038 GB, free: 13.15 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.643, allocations: 39.44 kB / 1.038 GB, free: 13.11 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.6432, allocations: 162 kB / 1.038 GB, free: 12.95 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002288/0.6435, allocations: 370.8 kB / 1.038 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007387/0.6442, allocations: 446.9 kB / 1.039 GB, free: 12.13 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008621/0.6451, allocations: 0.5239 MB / 1.039 GB, free: 11.58 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.6466, allocations: 0.878 MB / 1.04 GB, free: 10.68 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6466, allocations: 0 / 1.04 GB, free: 10.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002209/0.6488, allocations: 1.08 MB / 1.041 GB, free: 9.586 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.6489, allocations: 4 kB / 1.041 GB, free: 9.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.6489, allocations: 4 kB / 1.041 GB, free: 9.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/0.649, allocations: 4 kB / 1.041 GB, free: 9.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.6495, allocations: 111.8 kB / 1.041 GB, free: 9.465 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.6496, allocations: 7.984 kB / 1.041 GB, free: 9.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/0.6501, allocations: 71.41 kB / 1.041 GB, free: 9.387 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.6502, allocations: 32 kB / 1.042 GB, free: 9.355 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001099/0.6513, allocations: 0.5481 MB / 1.042 GB, free: 8.801 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008265/0.6522, allocations: 464.4 kB / 1.042 GB, free: 8.316 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001392/0.6536, allocations: 0.7237 MB / 1.043 GB, free: 7.574 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.679e-06/0.6536, allocations: 3.984 kB / 1.043 GB, free: 7.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001795/0.6554, allocations: 0.93 MB / 1.044 GB, free: 6.637 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.6554, allocations: 4 kB / 1.044 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6554, allocations: 4 kB / 1.044 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.6555, allocations: 4 kB / 1.044 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.6559, allocations: 103.9 kB / 1.044 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.6559, allocations: 7.938 kB / 1.044 GB, free: 6.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.6565, allocations: 63.64 kB / 1.044 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.6565, allocations: 24 kB / 1.044 GB, free: 6.43 MB / 0.795 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.0002364/0.6568, allocations: 202 kB / 1.045 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.6569, allocations: 55.62 kB / 1.045 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.6581, allocations: 370.4 kB / 1.045 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6581, allocations: 4 kB / 1.045 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6581, allocations: 0 / 1.045 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6581, allocations: 0 / 1.045 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.6588, allocations: 405.3 kB / 1.045 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6588, allocations: 0 / 1.045 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.6591, allocations: 43.97 kB / 1.045 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.6592, allocations: 0 / 1.045 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.6592, allocations: 7.984 kB / 1.045 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6592, allocations: 0 / 1.045 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.6592, allocations: 0 / 1.045 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009457/0.6601, allocations: 434.5 kB / 1.046 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.6604, allocations: 148.3 kB / 1.046 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.507e-05/0.6605, allocations: 4 kB / 1.046 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.6608, allocations: 15.98 kB / 1.046 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.6608, allocations: 11.98 kB / 1.046 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.6609, allocations: 15.98 kB / 1.046 GB, free: 4.645 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007138/0.6616, allocations: 0.4912 MB / 1.046 GB, free: 4.156 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6616, allocations: 0 / 1.046 GB, free: 4.156 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001065/0.6627, allocations: 315.9 kB / 1.047 GB, free: 3.848 MB / 0.795 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.000953/0.6636, allocations: 362.9 kB / 1.047 GB, free: 3.484 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002302/0.6659, allocations: 1.157 MB / 1.048 GB, free: 2.328 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.666, allocations: 0 / 1.048 GB, free: 2.328 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.6664, allocations: 136.3 kB / 1.048 GB, free: 2.195 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000891/0.6673, allocations: 209.9 kB / 1.049 GB, free: 2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.669, allocations: 0.9391 MB / 1.049 GB, free: 1.031 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/0.6696, allocations: 0.8934 MB / 1.05 GB, free: 112 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007406/0.6704, allocations: 192.1 kB / 1.051 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.6706, allocations: 59.41 kB / 1.051 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of SimCode: time 7.41e-07/0.6706, allocations: 0 / 1.051 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of Templates: time 0.02326/0.6939, allocations: 12.3 MB / 1.063 GB, free: 3.688 MB / 0.8106 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=400 -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