Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007845/0.0007845, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008419/0.0008419, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8794/0.8794, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.705/1.705, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.276e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4981/0.4981, allocations: 150.6 MB / 1.147 GB, free: 5.703 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.003551/0.5016, allocations: 3.203 MB / 1.15 GB, free: 3.551 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/0.5019, allocations: 30.38 kB / 1.15 GB, free: 3.535 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.5025, allocations: 308.5 kB / 1.15 GB, free: 3.367 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.504, allocations: 1.082 MB / 1.151 GB, free: 2.77 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009932/0.505, allocations: 0.6993 MB / 1.152 GB, free: 2.398 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001195/0.5062, allocations: 1.563 MB / 1.153 GB, free: 1.668 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.5066, allocations: 369.8 kB / 1.154 GB, free: 1.5 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009916/0.5076, allocations: 0.9021 MB / 1.155 GB, free: 1.098 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007158/0.5083, allocations: 449.9 kB / 1.155 GB, free: 0.9531 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.688e-05/0.5084, allocations: 53.69 kB / 1.155 GB, free: 0.9531 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007763/0.5091, allocations: 0.699 MB / 1.156 GB, free: 0.6992 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.5093, allocations: 256.6 kB / 1.156 GB, free: 0.582 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.5096, allocations: 243 kB / 1.156 GB, free: 496 kB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.5107, allocations: 1.158 MB / 1.157 GB, free: 92 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5107, allocations: 1.875 kB / 1.157 GB, free: 92 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5107, allocations: 0 / 1.157 GB, free: 92 kB / 1.01 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.5107, allocations: 0 / 1.157 GB, free: 92 kB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009847/0.5117, allocations: 0.8523 MB / 1.158 GB, free: 15.49 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5117, allocations: 10.69 kB / 1.158 GB, free: 15.49 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.599e-05/0.5118, allocations: 80.45 kB / 1.158 GB, free: 15.43 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006396/0.5124, allocations: 185.2 kB / 1.159 GB, free: 15.38 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.513, allocations: 462.2 kB / 1.159 GB, free: 15.08 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.513, allocations: 30.41 kB / 1.159 GB, free: 15.07 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.5131, allocations: 49.03 kB / 1.159 GB, free: 15.05 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.5137, allocations: 0.7144 MB / 1.16 GB, free: 14.55 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.5137, allocations: 1.062 kB / 1.16 GB, free: 14.55 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.5137, allocations: 27.8 kB / 1.16 GB, free: 14.53 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.5137, allocations: 15.52 kB / 1.16 GB, free: 14.53 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/0.5142, allocations: 412.7 kB / 1.16 GB, free: 14.39 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.5157, allocations: 1.229 MB / 1.161 GB, free: 13.73 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.5161, allocations: 284.8 kB / 1.162 GB, free: 13.61 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.5163, allocations: 174.5 kB / 1.162 GB, free: 13.54 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 9.4e-05/0.5164, allocations: 18.45 kB / 1.162 GB, free: 13.54 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.5164, allocations: 39.47 kB / 1.162 GB, free: 13.5 MB / 1.026 GB Notification: Performance of pre-optimization done (n=31): time 1.302e-06/0.5164, allocations: 4 kB / 1.162 GB, free: 13.49 MB / 1.026 GB Notification: Performance of matching and sorting (n=33): time 0.001357/0.5177, allocations: 0.9918 MB / 1.163 GB, free: 12.96 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.5178, allocations: 55.7 kB / 1.163 GB, free: 12.9 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000391/0.5182, allocations: 454.6 kB / 1.163 GB, free: 12.69 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.5182, allocations: 36.42 kB / 1.163 GB, free: 12.65 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.5183, allocations: 254.5 kB / 1.164 GB, free: 12.44 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/0.5184, allocations: 120.8 kB / 1.164 GB, free: 12.34 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/0.5185, allocations: 75.75 kB / 1.164 GB, free: 12.3 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5186, allocations: 357.3 kB / 1.164 GB, free: 11.96 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.5188, allocations: 125.7 kB / 1.164 GB, free: 11.92 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.519, allocations: 250.2 kB / 1.165 GB, free: 11.75 MB / 1.026 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.5201, allocations: 0.7807 MB / 1.165 GB, free: 11.44 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5201, allocations: 1.094 kB / 1.165 GB, free: 11.44 MB / 1.026 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004148/0.5205, allocations: 416.5 kB / 1.166 GB, free: 11.26 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5206, allocations: 9.781 kB / 1.166 GB, free: 11.25 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5206, allocations: 1.953 kB / 1.166 GB, free: 11.25 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5206, allocations: 3.625 kB / 1.166 GB, free: 11.25 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.5207, allocations: 72.16 kB / 1.166 GB, free: 11.25 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.5208, allocations: 4.156 kB / 1.166 GB, free: 11.25 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.5209, allocations: 9.234 kB / 1.166 GB, free: 11.24 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.521, allocations: 15.55 kB / 1.166 GB, free: 11.24 MB / 1.026 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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 prepare postOptimizeDAE: time 0.0001706/0.5211, allocations: 215.2 kB / 1.166 GB, free: 11.07 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.5212, allocations: 53.92 kB / 1.166 GB, free: 11.05 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.071e-05/0.5213, allocations: 66.02 kB / 1.166 GB, free: 11 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.5213, allocations: 2.906 kB / 1.166 GB, free: 11 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5213, allocations: 1.344 kB / 1.166 GB, free: 11 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003725/0.5216, allocations: 411.2 kB / 1.167 GB, free: 10.75 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.5228, allocations: 1.134 MB / 1.168 GB, free: 10.05 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5228, allocations: 6.844 kB / 1.168 GB, free: 10.05 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.523, allocations: 81.72 kB / 1.168 GB, free: 10.04 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.523, allocations: 5.594 kB / 1.168 GB, free: 10.04 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.523, allocations: 16.39 kB / 1.168 GB, free: 10.03 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.523, allocations: 10 kB / 1.168 GB, free: 10.03 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.523, allocations: 8.375 kB / 1.168 GB, free: 10.02 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.5236, allocations: 0.6865 MB / 1.168 GB, free: 9.578 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.5237, allocations: 102.9 kB / 1.169 GB, free: 9.523 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.5238, allocations: 10.7 kB / 1.169 GB, free: 9.52 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.5239, allocations: 16.64 kB / 1.169 GB, free: 9.516 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.524, allocations: 36.16 kB / 1.169 GB, free: 9.504 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.524, allocations: 20.48 kB / 1.169 GB, free: 9.5 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002503/0.5243, allocations: 333 kB / 1.169 GB, free: 9.34 MB / 1.026 GB Notification: Performance of sort global known variables: time 9e-08/0.5243, allocations: 0 / 1.169 GB, free: 9.34 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003509/0.5246, allocations: 141.4 kB / 1.169 GB, free: 9.328 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0008994/0.5255, allocations: 1.274 MB / 1.17 GB, free: 8.34 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.5259, allocations: 318.8 kB / 1.171 GB, free: 8.23 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5259, allocations: 2.156 kB / 1.171 GB, free: 8.23 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.526, allocations: 161.6 kB / 1.171 GB, free: 8.172 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.527, allocations: 368.2 kB / 1.171 GB, free: 8.078 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.5307, allocations: 4.341 MB / 1.175 GB, free: 5.438 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.5309, allocations: 281.1 kB / 1.176 GB, free: 5.332 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0002753/0.5312, allocations: 139.6 kB / 1.176 GB, free: 5.297 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.5314, allocations: 169.8 kB / 1.176 GB, free: 5.18 MB / 1.026 GB Notification: Performance of SimCode: time 4.81e-07/0.5314, allocations: 0 / 1.176 GB, free: 5.18 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.5572, allocations: 17.32 MB / 1.193 GB, free: 15.82 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/7.202, allocations: 10.69 kB / 1.193 GB, free: 15.82 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.096826889552176]