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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007805/0.007805, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.002082/0.002082, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.421/2.421, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7032/0.7045, allocations: 151.6 MB / 1.166 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003339/0.7078, allocations: 2.304 MB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005426/0.7133, allocations: 3.792 MB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.7136, allocations: 7.938 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.7163, allocations: 1.042 MB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007695/0.7171, allocations: 424.1 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009671/0.7181, allocations: 0.5146 MB / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004185/0.7223, allocations: 3.159 MB / 1.177 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.7224, allocations: 44.73 kB / 1.177 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.7227, allocations: 227.3 kB / 1.177 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.723, allocations: 215.2 kB / 1.178 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.7231, allocations: 20 kB / 1.178 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.7242, allocations: 0.7486 MB / 1.178 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.7244, allocations: 219.4 kB / 1.179 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.7246, allocations: 254.5 kB / 1.179 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.7258, allocations: 1.066 MB / 1.18 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7258, allocations: 7.938 kB / 1.18 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7258, allocations: 0 / 1.18 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.7258, allocations: 0 / 1.18 GB, free: 5.859 MB / 0.9044 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.001415/0.7273, allocations: 0.9441 MB / 1.181 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7273, allocations: 8.625 kB / 1.181 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.625e-05/0.7274, allocations: 50.73 kB / 1.181 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.7286, allocations: 212.3 kB / 1.181 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005818/0.7344, allocations: 3.592 MB / 1.185 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.7344, allocations: 8 kB / 1.185 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.7345, allocations: 12 kB / 1.185 GB, free: 0.9297 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/0.735, allocations: 262.5 kB / 1.185 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.7351, allocations: 0 / 1.185 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.7351, allocations: 0 / 1.185 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7351, allocations: 0 / 1.185 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.7358, allocations: 239.8 kB / 1.185 GB, free: 440 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.7371, allocations: 0.8356 MB / 1.186 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006729/0.7378, allocations: 302.6 kB / 1.186 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.7381, allocations: 124.8 kB / 1.186 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.7382, allocations: 3.938 kB / 1.186 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.7382, allocations: 34.56 kB / 1.186 GB, free: 15.07 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.7382, allocations: 0 / 1.186 GB, free: 15.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.001154/0.7393, allocations: 441 kB / 1.187 GB, free: 14.63 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.7394, allocations: 59.41 kB / 1.187 GB, free: 14.56 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008093/0.7402, allocations: 0.754 MB / 1.188 GB, free: 13.8 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.7403, allocations: 29.7 kB / 1.188 GB, free: 13.76 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.7404, allocations: 240.8 kB / 1.188 GB, free: 13.52 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.7405, allocations: 39.67 kB / 1.188 GB, free: 13.48 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.7407, allocations: 162 kB / 1.188 GB, free: 13.32 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7408, allocations: 370.8 kB / 1.188 GB, free: 12.95 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006465/0.7415, allocations: 443.3 kB / 1.189 GB, free: 12.51 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.7422, allocations: 0.5316 MB / 1.189 GB, free: 11.95 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.7434, allocations: 0.8547 MB / 1.19 GB, free: 11.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7435, allocations: 7.938 kB / 1.19 GB, free: 11.06 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001626/0.7451, allocations: 1.084 MB / 1.191 GB, free: 9.973 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.7451, allocations: 4 kB / 1.191 GB, free: 9.969 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.7451, allocations: 8 kB / 1.191 GB, free: 9.961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.7452, allocations: 4 kB / 1.191 GB, free: 9.957 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.7456, allocations: 115.9 kB / 1.191 GB, free: 9.844 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.7457, allocations: 7.938 kB / 1.191 GB, free: 9.836 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.7461, allocations: 71.53 kB / 1.191 GB, free: 9.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/0.7462, allocations: 35.98 kB / 1.191 GB, free: 9.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007626/0.7469, allocations: 0.5425 MB / 1.192 GB, free: 9.184 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006663/0.7476, allocations: 464.4 kB / 1.192 GB, free: 8.703 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001104/0.7487, allocations: 0.7237 MB / 1.193 GB, free: 7.957 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.7488, allocations: 0 / 1.193 GB, free: 7.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001453/0.7502, allocations: 0.9264 MB / 1.194 GB, free: 7.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.7502, allocations: 4 kB / 1.194 GB, free: 7.016 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7502, allocations: 4 kB / 1.194 GB, free: 7.012 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.7503, allocations: 4 kB / 1.194 GB, free: 7.008 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.7507, allocations: 111.9 kB / 1.194 GB, free: 6.898 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.7507, allocations: 4 kB / 1.194 GB, free: 6.895 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.7511, allocations: 52.38 kB / 1.194 GB, free: 6.844 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.7512, allocations: 27.98 kB / 1.194 GB, free: 6.816 MB / 0.92 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.0001448/0.7513, allocations: 208 kB / 1.194 GB, free: 6.605 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.7514, allocations: 55.62 kB / 1.194 GB, free: 6.551 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009306/0.7524, allocations: 354.8 kB / 1.195 GB, free: 6.195 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7524, allocations: 4 kB / 1.195 GB, free: 6.191 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.7524, allocations: 0 / 1.195 GB, free: 6.191 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.7524, allocations: 3.938 kB / 1.195 GB, free: 6.188 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.7529, allocations: 417.2 kB / 1.195 GB, free: 5.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7529, allocations: 8 kB / 1.195 GB, free: 5.723 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.7531, allocations: 43.89 kB / 1.195 GB, free: 5.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.7531, allocations: 0 / 1.195 GB, free: 5.68 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.7532, allocations: 4 kB / 1.195 GB, free: 5.676 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7532, allocations: 0 / 1.195 GB, free: 5.676 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7532, allocations: 0 / 1.195 GB, free: 5.676 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007659/0.7539, allocations: 439 kB / 1.196 GB, free: 5.23 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.7541, allocations: 152.6 kB / 1.196 GB, free: 5.062 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.7542, allocations: 0 / 1.196 GB, free: 5.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.7545, allocations: 23.97 kB / 1.196 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.7545, allocations: 11.94 kB / 1.196 GB, free: 5.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.7546, allocations: 15.98 kB / 1.196 GB, free: 5.012 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005769/0.7552, allocations: 0.5146 MB / 1.196 GB, free: 4.504 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7552, allocations: 0 / 1.196 GB, free: 4.504 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008906/0.7561, allocations: 315.6 kB / 1.197 GB, free: 4.195 MB / 0.92 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.001748/0.7578, allocations: 1.219 MB / 1.198 GB, free: 2.945 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.7598, allocations: 1.143 MB / 1.199 GB, free: 1.805 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7598, allocations: 0 / 1.199 GB, free: 1.805 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.7601, allocations: 136.3 kB / 1.199 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/0.761, allocations: 195.8 kB / 1.199 GB, free: 1.484 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007743/0.7687, allocations: 6.079 MB / 1.205 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.7692, allocations: 0.9012 MB / 1.206 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005826/0.7698, allocations: 196.3 kB / 1.206 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.7701, allocations: 199.3 kB / 1.206 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of SimCode: time 6.62e-07/0.7701, allocations: 0 / 1.206 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.8066, allocations: 17.56 MB / 1.224 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.734/9.541, allocations: 7.656 kB / 1.224 GB, free: 8.656 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.csv","/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