Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.00183/0.00183, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002404/0.002404, allocations: 213.9 kB / 23.03 MB, free: 4.926 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.852/2.852, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) [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.002209/0.002209, allocations: 65.03 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3592, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2364/0.5957, allocations: 168.4 MB / 1.449 GB, free: 1.672 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.6081, allocations: 5.433 MB / 1.454 GB, free: 12.23 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.6102, allocations: 51.56 kB / 1.454 GB, free: 12.18 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.6124, allocations: 0.5552 MB / 1.454 GB, free: 11.62 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006989/0.6193, allocations: 1.937 MB / 1.456 GB, free: 9.676 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004468/0.6238, allocations: 1.218 MB / 1.458 GB, free: 8.465 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005968/0.6298, allocations: 3.029 MB / 1.46 GB, free: 5.43 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.6317, allocations: 0.7318 MB / 1.461 GB, free: 4.684 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003621/0.6354, allocations: 1.129 MB / 1.462 GB, free: 3.551 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003394/0.6387, allocations: 0.9786 MB / 1.463 GB, free: 2.574 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005637/0.6393, allocations: 108 kB / 1.463 GB, free: 2.469 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00466/0.644, allocations: 1.204 MB / 1.465 GB, free: 1.262 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.6454, allocations: 478.6 kB / 1.465 GB, free: 0.793 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.6472, allocations: 0.5485 MB / 1.466 GB, free: 248 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00523/0.6525, allocations: 2.106 MB / 1.468 GB, free: 14.13 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.6525, allocations: 0 / 1.468 GB, free: 14.13 MB / 1.17 GB Notification: Performance of FrontEnd: time 4.679e-06/0.6525, allocations: 3.984 kB / 1.468 GB, free: 14.12 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.827e-05/0.6526, allocations: 4 kB / 1.468 GB, free: 14.12 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003858/0.6564, allocations: 1.473 MB / 1.469 GB, free: 12.61 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.6565, allocations: 11.97 kB / 1.469 GB, free: 12.6 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.707e-05/0.6565, allocations: 26 kB / 1.469 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002974/0.6568, allocations: 139.2 kB / 1.469 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002555/0.6594, allocations: 319 kB / 1.469 GB, free: 12.12 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.6616, allocations: 0.78 MB / 1.47 GB, free: 11.31 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/0.6617, allocations: 66 kB / 1.47 GB, free: 11.25 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/0.6619, allocations: 87.94 kB / 1.47 GB, free: 11.16 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.6645, allocations: 1.369 MB / 1.472 GB, free: 9.672 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.6645, allocations: 0 / 1.472 GB, free: 9.672 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.6647, allocations: 36 kB / 1.472 GB, free: 9.637 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/0.6647, allocations: 30 kB / 1.472 GB, free: 9.609 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.6666, allocations: 0.8315 MB / 1.473 GB, free: 8.777 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007594/0.6742, allocations: 2.542 MB / 1.475 GB, free: 6.176 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009664/0.6752, allocations: 479.4 kB / 1.476 GB, free: 5.703 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/0.6757, allocations: 278.8 kB / 1.476 GB, free: 5.43 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.6759, allocations: 24.42 kB / 1.476 GB, free: 5.406 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/0.6759, allocations: 50.94 kB / 1.476 GB, free: 5.348 MB / 1.17 GB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.676, allocations: 0 / 1.476 GB, free: 5.348 MB / 1.17 GB Notification: Performance of matching and sorting (n=49): time 0.005093/0.681, allocations: 1.699 MB / 1.478 GB, free: 3.609 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.6811, allocations: 59.84 kB / 1.478 GB, free: 3.539 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.6825, allocations: 0.8097 MB / 1.478 GB, free: 2.719 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.6826, allocations: 37.7 kB / 1.478 GB, free: 2.676 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/0.6831, allocations: 488.2 kB / 1.479 GB, free: 2.191 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.6833, allocations: 174.5 kB / 1.479 GB, free: 2.02 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/0.6836, allocations: 122.2 kB / 1.479 GB, free: 1.895 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.6837, allocations: 325.9 kB / 1.479 GB, free: 1.57 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/0.6843, allocations: 245.2 kB / 1.48 GB, free: 1.328 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.685, allocations: 416.5 kB / 1.48 GB, free: 0.875 MB / 1.17 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004419/0.6894, allocations: 1.445 MB / 1.482 GB, free: 15.4 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.6894, allocations: 3.938 kB / 1.482 GB, free: 15.39 MB / 1.186 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001777/0.6912, allocations: 0.7913 MB / 1.482 GB, free: 14.59 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.6912, allocations: 7.984 kB / 1.482 GB, free: 14.58 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.6912, allocations: 4 kB / 1.482 GB, free: 14.58 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003782/0.6916, allocations: 89.66 kB / 1.482 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/0.6923, allocations: 156 kB / 1.483 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003601/0.6959, allocations: 3.074 MB / 1.486 GB, free: 11.02 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.697, allocations: 19.98 kB / 1.486 GB, free: 11 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.911e-05/0.6971, allocations: 24 kB / 1.486 GB, free: 10.98 MB / 1.186 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006667/0.6977, allocations: 314.6 kB / 1.486 GB, free: 10.67 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.698, allocations: 99.39 kB / 1.486 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.6983, allocations: 100.7 kB / 1.486 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.6983, allocations: 4 kB / 1.486 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.6983, allocations: 11.94 kB / 1.486 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/0.6996, allocations: 0.831 MB / 1.487 GB, free: 9.535 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.7031, allocations: 1.627 MB / 1.488 GB, free: 7.812 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.7031, allocations: 4 kB / 1.489 GB, free: 7.809 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006584/0.7038, allocations: 119.9 kB / 1.489 GB, free: 7.691 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002653/0.7041, allocations: 77.17 kB / 1.489 GB, free: 7.613 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.7041, allocations: 8 kB / 1.489 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.7062, allocations: 1.678 MB / 1.49 GB, free: 5.812 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.7062, allocations: 4 kB / 1.49 GB, free: 5.809 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.7081, allocations: 1.078 MB / 1.491 GB, free: 4.672 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/0.7087, allocations: 155.4 kB / 1.492 GB, free: 4.52 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.7089, allocations: 19.98 kB / 1.492 GB, free: 4.5 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008544/0.7098, allocations: 27.98 kB / 1.492 GB, free: 4.473 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.7099, allocations: 47.8 kB / 1.492 GB, free: 4.426 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.381e-05/0.71, allocations: 31.98 kB / 1.492 GB, free: 4.395 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009474/0.7109, allocations: 0.5537 MB / 1.492 GB, free: 3.844 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.7109, allocations: 64 / 1.492 GB, free: 3.844 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001171/0.7121, allocations: 284 kB / 1.492 GB, free: 3.566 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002566/0.7147, allocations: 1.697 MB / 1.494 GB, free: 1.801 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.7163, allocations: 0.7806 MB / 1.495 GB, free: 0.9883 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.7163, allocations: 0 / 1.495 GB, free: 0.9883 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006945/0.717, allocations: 410.4 kB / 1.495 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/0.7204, allocations: 0.6145 MB / 1.496 GB, free: 15.97 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.7341, allocations: 6.996 MB / 1.503 GB, free: 8.699 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009334/0.7351, allocations: 0.4928 MB / 1.503 GB, free: 8.172 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001167/0.7362, allocations: 211.7 kB / 1.503 GB, free: 7.961 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007223/0.7369, allocations: 347.2 kB / 1.504 GB, free: 7.621 MB / 1.201 GB Notification: Performance of SimCode: time 2.325e-06/0.737, allocations: 0 / 1.504 GB, free: 7.621 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07875/0.8157, allocations: 30.43 MB / 1.533 GB, free: 9.953 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/16.45, allocations: 17.03 kB / 1.533 GB, free: 9.941 MB / 1.232 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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: 23.767649738001637]