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.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.001445/0.001445, allocations: 107.7 kB / 16.45 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.001467/0.001467, allocations: 191.8 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.423/1.423, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7611 GB, free: 11.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 75.88 kB / 1.104 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7882, allocations: 168.7 MB / 1.269 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2326/1.021, allocations: 191.3 MB / 1.456 GB, free: 5.234 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01096/1.032, allocations: 5.748 MB / 1.461 GB, free: 15.48 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/1.033, allocations: 43.75 kB / 1.461 GB, free: 15.43 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001861/1.035, allocations: 0.6136 MB / 1.462 GB, free: 14.82 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005811/1.041, allocations: 1.91 MB / 1.464 GB, free: 12.9 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003862/1.045, allocations: 1.207 MB / 1.465 GB, free: 11.7 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004973/1.05, allocations: 2.94 MB / 1.468 GB, free: 8.75 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/1.051, allocations: 0.8093 MB / 1.468 GB, free: 7.93 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002598/1.054, allocations: 1.105 MB / 1.47 GB, free: 6.82 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/1.057, allocations: 0.9803 MB / 1.471 GB, free: 5.84 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002837/1.057, allocations: 111.9 kB / 1.471 GB, free: 5.73 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/1.06, allocations: 1.516 MB / 1.472 GB, free: 4.211 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006403/1.061, allocations: 474.6 kB / 1.473 GB, free: 3.746 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/1.062, allocations: 0.6495 MB / 1.473 GB, free: 3.094 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003948/1.066, allocations: 2.141 MB / 1.475 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.066, allocations: 0 / 1.475 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.914e-06/1.066, allocations: 0 / 1.475 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.025e-05/1.066, allocations: 0 / 1.475 GB, free: 0.9453 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.003028/1.069, allocations: 1.549 MB / 1.477 GB, free: 15.34 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.069, allocations: 8.031 kB / 1.477 GB, free: 15.33 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001881/1.069, allocations: 139.2 kB / 1.477 GB, free: 15.19 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/1.071, allocations: 323 kB / 1.477 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/1.073, allocations: 0.8598 MB / 1.478 GB, free: 13.97 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/1.073, allocations: 66 kB / 1.478 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/1.073, allocations: 87.94 kB / 1.478 GB, free: 13.82 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/1.075, allocations: 0.9091 MB / 1.479 GB, free: 12.91 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/1.075, allocations: 7.953 kB / 1.479 GB, free: 12.9 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.414e-05/1.075, allocations: 36 kB / 1.479 GB, free: 12.86 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.38e-05/1.075, allocations: 30 kB / 1.479 GB, free: 12.83 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/1.077, allocations: 0.8314 MB / 1.48 GB, free: 12 MB / 1.186 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.006356/1.083, allocations: 3.514 MB / 1.483 GB, free: 8.262 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008657/1.084, allocations: 487.5 kB / 1.484 GB, free: 7.781 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/1.084, allocations: 282 kB / 1.484 GB, free: 7.504 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/1.085, allocations: 101.5 kB / 1.484 GB, free: 7.387 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/1.085, allocations: 39 kB / 1.484 GB, free: 7.34 MB / 1.186 GB Notification: Performance of pre-optimization done (n=47): time 3.086e-06/1.085, allocations: 0 / 1.484 GB, free: 7.34 MB / 1.186 GB Notification: Performance of matching and sorting (n=49): time 0.004616/1.089, allocations: 1.94 MB / 1.486 GB, free: 5.301 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/1.089, allocations: 59.84 kB / 1.486 GB, free: 5.23 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/1.091, allocations: 0.802 MB / 1.487 GB, free: 4.422 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.026e-05/1.091, allocations: 37.64 kB / 1.487 GB, free: 4.379 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005074/1.091, allocations: 480.3 kB / 1.488 GB, free: 3.906 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/1.091, allocations: 186.4 kB / 1.488 GB, free: 3.723 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/1.092, allocations: 106.3 kB / 1.488 GB, free: 3.613 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002764/1.092, allocations: 337.9 kB / 1.488 GB, free: 3.277 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/1.092, allocations: 245.2 kB / 1.488 GB, free: 3.035 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/1.093, allocations: 349.3 kB / 1.489 GB, free: 2.66 MB / 1.186 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.004029/1.097, allocations: 1.538 MB / 1.49 GB, free: 1.074 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.097, allocations: 0 / 1.49 GB, free: 1.074 MB / 1.186 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001487/1.098, allocations: 0.7811 MB / 1.491 GB, free: 284 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.098, allocations: 8 kB / 1.491 GB, free: 276 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.098, allocations: 0 / 1.491 GB, free: 276 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003146/1.099, allocations: 102 kB / 1.491 GB, free: 168 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/1.099, allocations: 139.8 kB / 1.491 GB, free: 28 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/1.103, allocations: 3.312 MB / 1.494 GB, free: 12.44 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/1.104, allocations: 35.92 kB / 1.494 GB, free: 12.4 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.394e-05/1.104, allocations: 20 kB / 1.495 GB, free: 12.38 MB / 1.201 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.0005145/1.104, allocations: 301.6 kB / 1.495 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/1.105, allocations: 95.44 kB / 1.495 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/1.105, allocations: 104.7 kB / 1.495 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.105, allocations: 4 kB / 1.495 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.105, allocations: 192 / 1.495 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001163/1.106, allocations: 0.8465 MB / 1.496 GB, free: 10.94 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/1.109, allocations: 1.787 MB / 1.498 GB, free: 9.051 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.109, allocations: 4.031 kB / 1.498 GB, free: 9.047 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/1.11, allocations: 131.7 kB / 1.498 GB, free: 8.918 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000244/1.11, allocations: 68.81 kB / 1.498 GB, free: 8.848 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.026e-05/1.11, allocations: 15.98 kB / 1.498 GB, free: 8.832 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/1.112, allocations: 1.781 MB / 1.5 GB, free: 6.906 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.112, allocations: 8.047 kB / 1.5 GB, free: 6.898 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/1.114, allocations: 1.07 MB / 1.501 GB, free: 5.773 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/1.114, allocations: 244.5 kB / 1.501 GB, free: 5.516 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/1.115, allocations: 20 kB / 1.501 GB, free: 5.496 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006967/1.115, allocations: 32.78 kB / 1.501 GB, free: 5.465 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/1.115, allocations: 35.89 kB / 1.501 GB, free: 5.43 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.628e-05/1.115, allocations: 35.98 kB / 1.501 GB, free: 5.395 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007939/1.116, allocations: 0.5654 MB / 1.501 GB, free: 4.836 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.116, allocations: 0 / 1.501 GB, free: 4.836 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009029/1.117, allocations: 280 kB / 1.502 GB, free: 4.562 MB / 1.201 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.002437/1.12, allocations: 1.702 MB / 1.503 GB, free: 2.797 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001471/1.121, allocations: 0.7926 MB / 1.504 GB, free: 1.98 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.121, allocations: 0 / 1.504 GB, free: 1.98 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006283/1.122, allocations: 391.2 kB / 1.505 GB, free: 1.586 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/1.124, allocations: 0.611 MB / 1.505 GB, free: 0.9883 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.135, allocations: 7.015 MB / 1.512 GB, free: 9.684 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008498/1.136, allocations: 1.091 MB / 1.513 GB, free: 8.562 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009003/1.137, allocations: 215.7 kB / 1.513 GB, free: 8.348 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/1.137, allocations: 342.5 kB / 1.514 GB, free: 8.016 MB / 1.217 GB Notification: Performance of SimCode: time 1.062e-06/1.137, allocations: 0 / 1.514 GB, free: 8.016 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07503/1.212, allocations: 28.16 MB / 1.541 GB, free: 12.36 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.22, allocations: 8 kB / 1.541 GB, free: 12.35 MB / 1.248 GB " [Timeout remaining time 285] (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_2/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: 21.329492756165564]