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.001377/0.001377, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001723/0.001723, allocations: 221 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.35/1.35, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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 2.995/2.995, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 71.45 kB / 1.178 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3056, allocations: 180.2 MB / 1.354 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1872/0.4928, allocations: 174.5 MB / 1.524 GB, free: 8.828 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.005438/0.4982, allocations: 3.411 MB / 1.528 GB, free: 5.41 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005485/0.4988, allocations: 31.75 kB / 1.528 GB, free: 5.379 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0008691/0.4997, allocations: 334.1 kB / 1.528 GB, free: 5.051 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.502, allocations: 1.07 MB / 1.529 GB, free: 3.977 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.5035, allocations: 0.6967 MB / 1.53 GB, free: 3.285 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.5054, allocations: 1.576 MB / 1.531 GB, free: 1.703 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005587/0.5059, allocations: 382 kB / 1.532 GB, free: 1.328 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.5071, allocations: 0.7434 MB / 1.533 GB, free: 0.582 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.5082, allocations: 498.1 kB / 1.533 GB, free: 100 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.5083, allocations: 52 kB / 1.533 GB, free: 48 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.51, allocations: 0.8924 MB / 1.534 GB, free: 15.15 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.5102, allocations: 239.3 kB / 1.534 GB, free: 14.92 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.5106, allocations: 342.5 kB / 1.534 GB, free: 14.58 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.5121, allocations: 1.137 MB / 1.536 GB, free: 13.44 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5121, allocations: 4 kB / 1.536 GB, free: 13.44 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5121, allocations: 0 / 1.536 GB, free: 13.44 MB / 1.233 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.5121, allocations: 0 / 1.536 GB, free: 13.44 MB / 1.233 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.001355/0.5134, allocations: 0.8548 MB / 1.536 GB, free: 12.55 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.5135, allocations: 12.03 kB / 1.536 GB, free: 12.54 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.5146, allocations: 187.4 kB / 1.537 GB, free: 12.35 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007989/0.5154, allocations: 466.5 kB / 1.537 GB, free: 11.88 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.5154, allocations: 33 kB / 1.537 GB, free: 11.84 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.617e-05/0.5155, allocations: 44 kB / 1.537 GB, free: 11.8 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.5162, allocations: 466.4 kB / 1.538 GB, free: 11.34 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.5163, allocations: 4 kB / 1.538 GB, free: 11.34 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.5163, allocations: 20 kB / 1.538 GB, free: 11.32 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.5163, allocations: 16.98 kB / 1.538 GB, free: 11.3 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/0.517, allocations: 415.7 kB / 1.538 GB, free: 10.89 MB / 1.233 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.5195, allocations: 1.772 MB / 1.54 GB, free: 8.973 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.52, allocations: 286.5 kB / 1.54 GB, free: 8.684 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.5202, allocations: 168.8 kB / 1.54 GB, free: 8.516 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.5204, allocations: 19.98 kB / 1.54 GB, free: 8.496 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.5204, allocations: 42.5 kB / 1.54 GB, free: 8.445 MB / 1.233 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/0.5204, allocations: 0 / 1.54 GB, free: 8.445 MB / 1.233 GB Notification: Performance of matching and sorting (n=33): time 0.001843/0.5222, allocations: 0.9901 MB / 1.541 GB, free: 7.422 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.5223, allocations: 55.41 kB / 1.541 GB, free: 7.355 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.5228, allocations: 457.9 kB / 1.542 GB, free: 6.902 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.5228, allocations: 33.7 kB / 1.542 GB, free: 6.863 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.523, allocations: 256.4 kB / 1.542 GB, free: 6.609 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.5231, allocations: 123 kB / 1.542 GB, free: 6.488 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.5232, allocations: 69.7 kB / 1.542 GB, free: 6.414 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5234, allocations: 358.8 kB / 1.542 GB, free: 6.055 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.5236, allocations: 123.9 kB / 1.543 GB, free: 5.934 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.5238, allocations: 193.9 kB / 1.543 GB, free: 5.723 MB / 1.233 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.001846/0.5257, allocations: 0.7876 MB / 1.544 GB, free: 4.914 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5257, allocations: 0 / 1.544 GB, free: 4.914 MB / 1.233 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006061/0.5263, allocations: 428.8 kB / 1.544 GB, free: 4.488 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5263, allocations: 4 kB / 1.544 GB, free: 4.484 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5263, allocations: 3.984 kB / 1.544 GB, free: 4.48 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.5263, allocations: 4 kB / 1.544 GB, free: 4.477 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.5266, allocations: 75.84 kB / 1.544 GB, free: 4.402 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.5266, allocations: 4 kB / 1.544 GB, free: 4.398 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.527, allocations: 8 kB / 1.544 GB, free: 4.391 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.527, allocations: 16 kB / 1.544 GB, free: 4.375 MB / 1.233 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.000249/0.5273, allocations: 218.5 kB / 1.544 GB, free: 4.152 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/0.5273, allocations: 63.59 kB / 1.544 GB, free: 4.09 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.5275, allocations: 56.7 kB / 1.544 GB, free: 4.035 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.5275, allocations: 11.92 kB / 1.544 GB, free: 4.023 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.5275, allocations: 4 kB / 1.544 GB, free: 4.02 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004921/0.528, allocations: 408.3 kB / 1.545 GB, free: 3.59 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.5298, allocations: 1.215 MB / 1.546 GB, free: 2.277 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5298, allocations: 4 kB / 1.546 GB, free: 2.273 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.5301, allocations: 71.89 kB / 1.546 GB, free: 2.203 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.5301, allocations: 8 kB / 1.546 GB, free: 2.195 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.5301, allocations: 8 kB / 1.546 GB, free: 2.188 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.5302, allocations: 8 kB / 1.546 GB, free: 2.18 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.5302, allocations: 8.438 kB / 1.546 GB, free: 2.172 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008671/0.531, allocations: 0.708 MB / 1.547 GB, free: 1.398 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.5312, allocations: 99.59 kB / 1.547 GB, free: 1.301 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/0.5313, allocations: 12 kB / 1.547 GB, free: 1.289 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.5317, allocations: 20.92 kB / 1.547 GB, free: 1.27 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.5317, allocations: 35.75 kB / 1.547 GB, free: 1.234 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.5318, allocations: 23.98 kB / 1.547 GB, free: 1.211 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0003551/0.5321, allocations: 327.2 kB / 1.547 GB, free: 0.8945 MB / 1.233 GB Notification: Performance of sort global known variables: time 8e-08/0.5321, allocations: 0 / 1.547 GB, free: 0.8945 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.0005161/0.5327, allocations: 140 kB / 1.547 GB, free: 0.7578 MB / 1.233 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.0002685/0.5329, allocations: 151.1 kB / 1.548 GB, free: 0.5977 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.5335, allocations: 311.9 kB / 1.548 GB, free: 300 kB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.5335, allocations: 4 kB / 1.548 GB, free: 296 kB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.5337, allocations: 156.4 kB / 1.548 GB, free: 140 kB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.5353, allocations: 366 kB / 1.548 GB, free: 15.79 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.537, allocations: 1.2 MB / 1.55 GB, free: 14.5 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.5375, allocations: 0.8745 MB / 1.55 GB, free: 13.6 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.5377, allocations: 47.44 kB / 1.55 GB, free: 13.55 MB / 1.248 GB Notification: Performance of SimCode: time 4.91e-07/0.5377, allocations: 0 / 1.55 GB, free: 13.55 MB / 1.248 GB Notification: Performance of Templates: time 0.01266/0.5503, allocations: 8.709 MB / 1.559 GB, free: 4.91 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/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: 12.009190247015795]