Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002142/0.002142, 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.001728/0.001728, allocations: 215.9 kB / 23.03 MB, free: 4.922 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 3.158/3.158, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_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.00193/0.00193, allocations: 66.59 kB / 1.171 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.323, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1996/0.5226, allocations: 168.4 MB / 1.51 GB, free: 6.855 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009798/0.5324, allocations: 5.446 MB / 1.515 GB, free: 1.402 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.5338, allocations: 59.5 kB / 1.515 GB, free: 1.344 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.5354, allocations: 0.5513 MB / 1.516 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.5404, allocations: 1.937 MB / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.5436, allocations: 1.212 MB / 1.519 GB, free: 13.64 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004324/0.548, allocations: 3.031 MB / 1.522 GB, free: 10.6 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.5493, allocations: 0.7357 MB / 1.522 GB, free: 9.852 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.5522, allocations: 1.32 MB / 1.524 GB, free: 8.527 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.5546, allocations: 0.9707 MB / 1.525 GB, free: 7.559 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002538/0.5548, allocations: 108 kB / 1.525 GB, free: 7.453 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.5576, allocations: 1.188 MB / 1.526 GB, free: 6.262 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005841/0.5581, allocations: 470.6 kB / 1.526 GB, free: 5.801 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008822/0.559, allocations: 0.5486 MB / 1.527 GB, free: 5.25 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.5626, allocations: 2.118 MB / 1.529 GB, free: 3.125 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.5626, allocations: 7.938 kB / 1.529 GB, free: 3.117 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5626, allocations: 0 / 1.529 GB, free: 3.117 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.664e-05/0.5626, allocations: 0 / 1.529 GB, free: 3.117 MB / 1.217 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.002644/0.5653, allocations: 1.473 MB / 1.53 GB, free: 1.609 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.5653, allocations: 8.031 kB / 1.53 GB, free: 1.602 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.318e-05/0.5654, allocations: 22 kB / 1.53 GB, free: 1.578 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.5655, allocations: 139.2 kB / 1.531 GB, free: 1.434 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.5676, allocations: 327 kB / 1.531 GB, free: 1.113 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.5692, allocations: 0.7838 MB / 1.532 GB, free: 312 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.5692, allocations: 70 kB / 1.532 GB, free: 244 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.5694, allocations: 83.94 kB / 1.532 GB, free: 160 kB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.5713, allocations: 1.357 MB / 1.533 GB, free: 14.68 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.5713, allocations: 3.984 kB / 1.533 GB, free: 14.68 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/0.5714, allocations: 44 kB / 1.533 GB, free: 14.63 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/0.5715, allocations: 30 kB / 1.533 GB, free: 14.6 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.5729, allocations: 0.8276 MB / 1.534 GB, free: 13.77 MB / 1.232 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.005253/0.5782, allocations: 2.55 MB / 1.537 GB, free: 11.16 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007849/0.579, allocations: 477.5 kB / 1.537 GB, free: 10.69 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.5794, allocations: 274 kB / 1.537 GB, free: 10.42 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.5796, allocations: 24.42 kB / 1.537 GB, free: 10.4 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.5796, allocations: 42.98 kB / 1.537 GB, free: 10.35 MB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.615e-06/0.5796, allocations: 0 / 1.537 GB, free: 10.35 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.003999/0.5836, allocations: 1.706 MB / 1.539 GB, free: 8.598 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.5837, allocations: 55.84 kB / 1.539 GB, free: 8.531 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.5848, allocations: 0.8019 MB / 1.54 GB, free: 7.723 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/0.5849, allocations: 41.64 kB / 1.54 GB, free: 7.676 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000407/0.5853, allocations: 488.2 kB / 1.54 GB, free: 7.195 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.5854, allocations: 182.4 kB / 1.54 GB, free: 7.016 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.5857, allocations: 114.3 kB / 1.541 GB, free: 6.898 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5858, allocations: 337.9 kB / 1.541 GB, free: 6.562 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/0.5863, allocations: 245.1 kB / 1.541 GB, free: 6.32 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005821/0.5868, allocations: 400.6 kB / 1.542 GB, free: 5.883 MB / 1.232 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.003834/0.5907, allocations: 1.452 MB / 1.543 GB, free: 4.387 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.5907, allocations: 0 / 1.543 GB, free: 4.387 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001453/0.5921, allocations: 0.7835 MB / 1.544 GB, free: 3.594 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5922, allocations: 8 kB / 1.544 GB, free: 3.586 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5922, allocations: 4 kB / 1.544 GB, free: 3.582 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.5925, allocations: 97.98 kB / 1.544 GB, free: 3.48 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/0.5932, allocations: 143.8 kB / 1.544 GB, free: 3.34 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.5963, allocations: 3.095 MB / 1.547 GB, free: 12 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008308/0.5972, allocations: 20.06 kB / 1.547 GB, free: 15.99 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.5972, allocations: 27.92 kB / 1.547 GB, free: 15.96 MB / 1.248 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.0005297/0.5978, allocations: 297.6 kB / 1.547 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.598, allocations: 95.44 kB / 1.547 GB, free: 15.57 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.5982, allocations: 104.8 kB / 1.548 GB, free: 15.46 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.5982, allocations: 4 kB / 1.548 GB, free: 15.46 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5982, allocations: 3.938 kB / 1.548 GB, free: 15.45 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/0.5993, allocations: 0.8465 MB / 1.548 GB, free: 14.52 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.6024, allocations: 1.619 MB / 1.55 GB, free: 12.81 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6024, allocations: 0 / 1.55 GB, free: 12.81 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.603, allocations: 132.2 kB / 1.55 GB, free: 12.68 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.6033, allocations: 68.81 kB / 1.55 GB, free: 12.61 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.6033, allocations: 19.98 kB / 1.55 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.6051, allocations: 1.668 MB / 1.552 GB, free: 10.82 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6051, allocations: 7.938 kB / 1.552 GB, free: 10.81 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.6069, allocations: 1.082 MB / 1.553 GB, free: 9.664 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.6074, allocations: 163.3 kB / 1.553 GB, free: 9.504 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.6076, allocations: 12 kB / 1.553 GB, free: 9.492 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007515/0.6083, allocations: 33.88 kB / 1.553 GB, free: 9.461 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.6084, allocations: 43.88 kB / 1.553 GB, free: 9.418 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.861e-05/0.6085, allocations: 32.05 kB / 1.553 GB, free: 9.387 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008253/0.6093, allocations: 0.5654 MB / 1.554 GB, free: 8.828 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6093, allocations: 0 / 1.554 GB, free: 8.828 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009805/0.6103, allocations: 280 kB / 1.554 GB, free: 8.555 MB / 1.248 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.00229/0.6126, allocations: 1.694 MB / 1.556 GB, free: 6.789 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.614, allocations: 0.7764 MB / 1.556 GB, free: 5.988 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.614, allocations: 4 kB / 1.556 GB, free: 5.984 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006204/0.6147, allocations: 390.3 kB / 1.557 GB, free: 5.59 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.6174, allocations: 0.6162 MB / 1.557 GB, free: 4.988 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.6281, allocations: 7.011 MB / 1.564 GB, free: 13.69 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.6287, allocations: 0.4929 MB / 1.565 GB, free: 13.16 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008036/0.6295, allocations: 211.7 kB / 1.565 GB, free: 12.95 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/0.63, allocations: 343.3 kB / 1.565 GB, free: 12.62 MB / 1.264 GB Notification: Performance of SimCode: time 8.62e-07/0.63, allocations: 0 / 1.565 GB, free: 12.62 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07008/0.7001, allocations: 30.41 MB / 1.595 GB, free: 14.84 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/14.97, allocations: 8 kB / 1.595 GB, free: 14.83 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.70692822802812]