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.001792/0.001792, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002574/0.002574, allocations: 216.2 kB / 22.25 MB, free: 5.121 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.965 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.98/2.98, allocations: 476.7 MB / 0.7707 GB, free: 4.262 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="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: 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.001978/0.001978, allocations: 65.97 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3259, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2425/0.5684, allocations: 194.5 MB / 1.473 GB, free: 8.402 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.5804, allocations: 5.771 MB / 1.479 GB, free: 2.621 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.5824, allocations: 55.56 kB / 1.479 GB, free: 2.566 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.5847, allocations: 0.6136 MB / 1.48 GB, free: 1.949 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006373/0.5911, allocations: 1.945 MB / 1.482 GB, free: 15.99 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00395/0.5951, allocations: 1.243 MB / 1.483 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004993/0.6, allocations: 3.015 MB / 1.486 GB, free: 11.74 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.6017, allocations: 0.7435 MB / 1.486 GB, free: 10.98 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.6042, allocations: 1.129 MB / 1.488 GB, free: 9.848 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002764/0.6069, allocations: 0.9734 MB / 1.489 GB, free: 8.879 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004221/0.6074, allocations: 108 kB / 1.489 GB, free: 8.773 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003715/0.6111, allocations: 1.547 MB / 1.49 GB, free: 7.223 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007952/0.6119, allocations: 478.6 kB / 1.491 GB, free: 6.754 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.6133, allocations: 0.6572 MB / 1.491 GB, free: 6.094 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004663/0.618, allocations: 2.141 MB / 1.493 GB, free: 3.945 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.618, allocations: 4 kB / 1.493 GB, free: 3.941 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.483e-06/0.618, allocations: 0 / 1.493 GB, free: 3.941 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.369e-05/0.6181, allocations: 3.984 kB / 1.493 GB, free: 3.938 MB / 1.186 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.003758/0.6218, allocations: 1.473 MB / 1.495 GB, free: 2.426 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.6219, allocations: 11.97 kB / 1.495 GB, free: 2.414 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003179/0.6222, allocations: 139.2 kB / 1.495 GB, free: 2.27 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.6245, allocations: 323 kB / 1.495 GB, free: 1.953 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.6265, allocations: 0.7839 MB / 1.496 GB, free: 1.145 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/0.6266, allocations: 62 kB / 1.496 GB, free: 1.086 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.6268, allocations: 84 kB / 1.496 GB, free: 1.004 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.6287, allocations: 0.913 MB / 1.497 GB, free: 88 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.6287, allocations: 0 / 1.497 GB, free: 88 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.6288, allocations: 36 kB / 1.497 GB, free: 52 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/0.6289, allocations: 34 kB / 1.497 GB, free: 16 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.6306, allocations: 0.8276 MB / 1.498 GB, free: 15.19 MB / 1.201 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.00675/0.6373, allocations: 3.456 MB / 1.501 GB, free: 11.51 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/0.6382, allocations: 484.3 kB / 1.502 GB, free: 11.03 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005145/0.6387, allocations: 283.1 kB / 1.502 GB, free: 10.75 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.6389, allocations: 32.41 kB / 1.502 GB, free: 10.72 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.639, allocations: 42.94 kB / 1.502 GB, free: 10.67 MB / 1.201 GB Notification: Performance of pre-optimization done (n=47): time 2.414e-06/0.639, allocations: 0 / 1.502 GB, free: 10.67 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.004581/0.6436, allocations: 1.71 MB / 1.504 GB, free: 8.918 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.6436, allocations: 55.84 kB / 1.504 GB, free: 8.852 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.6449, allocations: 0.802 MB / 1.505 GB, free: 8.043 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/0.645, allocations: 37.7 kB / 1.505 GB, free: 8 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.6454, allocations: 484.2 kB / 1.505 GB, free: 7.523 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.6456, allocations: 186.4 kB / 1.505 GB, free: 7.34 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.6458, allocations: 110.3 kB / 1.505 GB, free: 7.227 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.646, allocations: 333.9 kB / 1.506 GB, free: 6.895 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/0.6464, allocations: 241.2 kB / 1.506 GB, free: 6.656 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/0.647, allocations: 357.1 kB / 1.506 GB, free: 6.277 MB / 1.201 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.003952/0.651, allocations: 1.453 MB / 1.508 GB, free: 4.793 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.651, allocations: 0 / 1.508 GB, free: 4.793 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001596/0.6526, allocations: 0.7954 MB / 1.508 GB, free: 3.988 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.6526, allocations: 8 kB / 1.508 GB, free: 3.98 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.6526, allocations: 4 kB / 1.508 GB, free: 3.977 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/0.653, allocations: 85.66 kB / 1.509 GB, free: 3.887 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/0.6536, allocations: 147.8 kB / 1.509 GB, free: 3.742 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/0.6571, allocations: 3.088 MB / 1.512 GB, free: 432 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.6581, allocations: 31.88 kB / 1.512 GB, free: 400 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/0.6582, allocations: 27.98 kB / 1.512 GB, free: 372 kB / 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.0006447/0.6589, allocations: 301.7 kB / 1.512 GB, free: 60 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002716/0.6591, allocations: 91.62 kB / 1.512 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.6594, allocations: 104.7 kB / 1.512 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.6594, allocations: 11.98 kB / 1.512 GB, free: 15.85 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.6594, allocations: 0 / 1.512 GB, free: 15.85 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001282/0.6607, allocations: 0.8386 MB / 1.513 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.664, allocations: 1.759 MB / 1.515 GB, free: 13.07 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.6641, allocations: 0 / 1.515 GB, free: 13.07 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006156/0.6647, allocations: 128.2 kB / 1.515 GB, free: 12.94 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.6649, allocations: 68.81 kB / 1.515 GB, free: 12.87 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.665, allocations: 19.98 kB / 1.515 GB, free: 12.85 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.6669, allocations: 1.686 MB / 1.517 GB, free: 11.05 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.6669, allocations: 4 kB / 1.517 GB, free: 11.05 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.6688, allocations: 1.078 MB / 1.518 GB, free: 9.91 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/0.6693, allocations: 159.3 kB / 1.518 GB, free: 9.754 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.6695, allocations: 16 kB / 1.518 GB, free: 9.738 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007602/0.6703, allocations: 43.14 kB / 1.518 GB, free: 9.699 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.6704, allocations: 47.81 kB / 1.518 GB, free: 9.652 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.828e-05/0.6705, allocations: 27.98 kB / 1.518 GB, free: 9.625 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008879/0.6714, allocations: 0.5615 MB / 1.518 GB, free: 9.07 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6714, allocations: 0 / 1.518 GB, free: 9.07 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001067/0.6724, allocations: 280 kB / 1.519 GB, free: 8.797 MB / 1.217 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.002452/0.6749, allocations: 1.702 MB / 1.52 GB, free: 7.027 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.6764, allocations: 0.776 MB / 1.521 GB, free: 6.215 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.6764, allocations: 4 kB / 1.521 GB, free: 6.211 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006666/0.6771, allocations: 403.9 kB / 1.522 GB, free: 5.805 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/0.68, allocations: 0.6124 MB / 1.522 GB, free: 5.207 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.693, allocations: 7 MB / 1.529 GB, free: 13.93 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.694, allocations: 1.084 MB / 1.53 GB, free: 12.82 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001/0.695, allocations: 211.7 kB / 1.53 GB, free: 12.61 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.6956, allocations: 343.3 kB / 1.531 GB, free: 12.27 MB / 1.232 GB Notification: Performance of SimCode: time 1.904e-06/0.6956, allocations: 0 / 1.531 GB, free: 12.27 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08219/0.7778, allocations: 28.68 MB / 1.559 GB, free: 32 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.46, allocations: 1.547 kB / 1.559 GB, free: 32 kB / 1.248 GB " [Timeout remaining time 284] (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: 22.418115885928273]