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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.097/3.097, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.56 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3044, allocations: 173.9 MB / 1.304 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.22/0.5243, allocations: 191.3 MB / 1.491 GB, free: 1.453 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.5353, allocations: 5.77 MB / 1.496 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.5373, allocations: 39.81 kB / 1.496 GB, free: 11.64 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.5399, allocations: 0.6058 MB / 1.497 GB, free: 11.03 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006137/0.546, allocations: 1.921 MB / 1.499 GB, free: 9.098 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.5497, allocations: 1.197 MB / 1.5 GB, free: 7.906 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004481/0.5542, allocations: 2.951 MB / 1.503 GB, free: 4.945 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.5557, allocations: 0.8055 MB / 1.504 GB, free: 4.129 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/0.5584, allocations: 1.296 MB / 1.505 GB, free: 2.828 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.5606, allocations: 0.9475 MB / 1.506 GB, free: 1.883 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002611/0.5608, allocations: 108 kB / 1.506 GB, free: 1.777 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.5639, allocations: 1.508 MB / 1.508 GB, free: 272 kB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000626/0.5646, allocations: 474.6 kB / 1.508 GB, free: 15.8 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009525/0.5655, allocations: 0.6495 MB / 1.509 GB, free: 15.15 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003661/0.5692, allocations: 2.145 MB / 1.511 GB, free: 13 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5692, allocations: 0 / 1.511 GB, free: 13 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5692, allocations: 4 kB / 1.511 GB, free: 12.99 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.622e-05/0.5692, allocations: 0 / 1.511 GB, free: 12.99 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.002813/0.572, allocations: 1.552 MB / 1.512 GB, free: 11.38 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5721, allocations: 8.922 kB / 1.512 GB, free: 11.38 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.5722, allocations: 143.2 kB / 1.512 GB, free: 11.23 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.5743, allocations: 319 kB / 1.513 GB, free: 10.91 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.576, allocations: 0.8676 MB / 1.514 GB, free: 10 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.5761, allocations: 66 kB / 1.514 GB, free: 9.941 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.5762, allocations: 87.94 kB / 1.514 GB, free: 9.855 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.5779, allocations: 0.9131 MB / 1.515 GB, free: 8.934 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.578, allocations: 0 / 1.515 GB, free: 8.934 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.662e-05/0.578, allocations: 32 kB / 1.515 GB, free: 8.902 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.062e-05/0.5781, allocations: 34 kB / 1.515 GB, free: 8.867 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.5796, allocations: 0.8314 MB / 1.515 GB, free: 8.039 MB / 1.217 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.006453/0.5861, allocations: 3.518 MB / 1.519 GB, free: 4.297 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008392/0.5869, allocations: 478 kB / 1.519 GB, free: 3.824 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.5874, allocations: 279 kB / 1.52 GB, free: 3.551 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002106/0.5876, allocations: 105.5 kB / 1.52 GB, free: 3.43 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.5876, allocations: 39 kB / 1.52 GB, free: 3.383 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 2.164e-06/0.5876, allocations: 0 / 1.52 GB, free: 3.383 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.004424/0.5921, allocations: 1.94 MB / 1.522 GB, free: 1.344 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.5921, allocations: 63.78 kB / 1.522 GB, free: 1.27 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.5932, allocations: 0.8058 MB / 1.523 GB, free: 464 kB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/0.5933, allocations: 37.7 kB / 1.523 GB, free: 420 kB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.5937, allocations: 484.4 kB / 1.523 GB, free: 15.93 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.5939, allocations: 178.5 kB / 1.523 GB, free: 15.75 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.5941, allocations: 118.2 kB / 1.523 GB, free: 15.63 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.5943, allocations: 329.9 kB / 1.524 GB, free: 15.3 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.5947, allocations: 241.2 kB / 1.524 GB, free: 15.07 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/0.5953, allocations: 361.2 kB / 1.524 GB, free: 14.68 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.0038/0.5991, allocations: 1.526 MB / 1.526 GB, free: 13.09 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5991, allocations: 0 / 1.526 GB, free: 13.09 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001455/0.6005, allocations: 0.7892 MB / 1.526 GB, free: 12.29 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.6005, allocations: 8 kB / 1.526 GB, free: 12.28 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.6006, allocations: 0 / 1.526 GB, free: 12.28 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.6009, allocations: 93.66 kB / 1.527 GB, free: 12.18 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.6015, allocations: 143.8 kB / 1.527 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/0.6051, allocations: 3.301 MB / 1.53 GB, free: 8.465 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000895/0.6059, allocations: 31.92 kB / 1.53 GB, free: 8.434 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.606, allocations: 20 kB / 1.53 GB, free: 8.414 MB / 1.232 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.0005463/0.6065, allocations: 299 kB / 1.53 GB, free: 8.113 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.6067, allocations: 99.39 kB / 1.53 GB, free: 8.016 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.6069, allocations: 108.7 kB / 1.53 GB, free: 7.902 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6069, allocations: 4 kB / 1.53 GB, free: 7.898 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6069, allocations: 0 / 1.53 GB, free: 7.898 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/0.6081, allocations: 0.8504 MB / 1.531 GB, free: 6.961 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.6113, allocations: 1.784 MB / 1.533 GB, free: 5.078 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6113, allocations: 0 / 1.533 GB, free: 5.078 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006121/0.6119, allocations: 131.7 kB / 1.533 GB, free: 4.949 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.6121, allocations: 73.2 kB / 1.533 GB, free: 4.875 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.6122, allocations: 16.12 kB / 1.533 GB, free: 4.859 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.614, allocations: 1.777 MB / 1.535 GB, free: 2.941 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/0.6141, allocations: 7.938 kB / 1.535 GB, free: 2.934 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.6158, allocations: 1.078 MB / 1.536 GB, free: 1.793 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005437/0.6164, allocations: 232.4 kB / 1.536 GB, free: 1.547 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.6165, allocations: 19.98 kB / 1.536 GB, free: 1.527 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006641/0.6172, allocations: 30.22 kB / 1.536 GB, free: 1.5 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.6173, allocations: 55.73 kB / 1.536 GB, free: 1.445 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.6174, allocations: 31.97 kB / 1.536 GB, free: 1.414 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007973/0.6182, allocations: 0.5615 MB / 1.537 GB, free: 0.8594 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6182, allocations: 0 / 1.537 GB, free: 0.8594 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009166/0.6191, allocations: 279.9 kB / 1.537 GB, free: 0.5859 MB / 1.232 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.002361/0.6214, allocations: 1.707 MB / 1.539 GB, free: 14.82 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.6229, allocations: 0.7843 MB / 1.54 GB, free: 14.01 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6229, allocations: 0 / 1.54 GB, free: 14.01 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.6235, allocations: 399.6 kB / 1.54 GB, free: 13.61 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.6261, allocations: 0.6172 MB / 1.541 GB, free: 13.01 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.6369, allocations: 6.996 MB / 1.547 GB, free: 5.734 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/0.6378, allocations: 1.084 MB / 1.548 GB, free: 4.617 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008828/0.6387, allocations: 215.7 kB / 1.549 GB, free: 4.402 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/0.6391, allocations: 343.3 kB / 1.549 GB, free: 4.07 MB / 1.248 GB Notification: Performance of SimCode: time 1.412e-06/0.6391, allocations: 0 / 1.549 GB, free: 4.07 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07245/0.7116, allocations: 28.15 MB / 1.577 GB, free: 8.387 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.38, allocations: 17.81 kB / 1.577 GB, free: 8.379 MB / 1.279 GB " [Timeout remaining time 286] (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_2/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: 20.926791960839182]