Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001211/0.001211, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001395/0.001395, allocations: 217.9 kB / 22.25 MB, free: 5.105 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.335/1.335, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.874/2.874, allocations: 0.49 GB / 0.7951 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_12_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.001885/0.001885, allocations: 60.66 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3329, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2025/0.5353, allocations: 168.6 MB / 1.49 GB, free: 8.301 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009578/0.5449, allocations: 5.451 MB / 1.496 GB, free: 2.836 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.546, allocations: 59.5 kB / 1.496 GB, free: 2.777 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.5474, allocations: 0.5474 MB / 1.496 GB, free: 2.227 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.5515, allocations: 1.941 MB / 1.498 GB, free: 284 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.5543, allocations: 1.214 MB / 1.499 GB, free: 15.07 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003618/0.5579, allocations: 3.025 MB / 1.502 GB, free: 12.04 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.5591, allocations: 0.7474 MB / 1.503 GB, free: 11.28 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/0.5616, allocations: 1.324 MB / 1.504 GB, free: 9.949 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.5637, allocations: 0.9631 MB / 1.505 GB, free: 8.988 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.5639, allocations: 108 kB / 1.505 GB, free: 8.883 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.5664, allocations: 1.188 MB / 1.507 GB, free: 7.691 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005105/0.5669, allocations: 478.5 kB / 1.507 GB, free: 7.223 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006695/0.5676, allocations: 0.5408 MB / 1.508 GB, free: 6.68 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002637/0.5702, allocations: 2.114 MB / 1.51 GB, free: 4.559 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5703, allocations: 4 kB / 1.51 GB, free: 4.555 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5703, allocations: 0 / 1.51 GB, free: 4.555 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.5703, allocations: 0 / 1.51 GB, free: 4.555 MB / 1.201 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.002472/0.5727, allocations: 1.481 MB / 1.511 GB, free: 3.035 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.5728, allocations: 8.031 kB / 1.511 GB, free: 3.027 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.573, allocations: 143.2 kB / 1.511 GB, free: 2.879 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.5748, allocations: 323 kB / 1.512 GB, free: 2.562 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.5763, allocations: 0.7838 MB / 1.512 GB, free: 1.75 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.5763, allocations: 66 kB / 1.512 GB, free: 1.688 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.5765, allocations: 88 kB / 1.513 GB, free: 1.602 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.5782, allocations: 1.357 MB / 1.514 GB, free: 128 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.5782, allocations: 4 kB / 1.514 GB, free: 124 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.5783, allocations: 36 kB / 1.514 GB, free: 88 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/0.5784, allocations: 30 kB / 1.514 GB, free: 56 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.5798, allocations: 0.8198 MB / 1.515 GB, free: 15.24 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.004896/0.5847, allocations: 2.55 MB / 1.517 GB, free: 12.63 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/0.5854, allocations: 485 kB / 1.518 GB, free: 12.15 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.5859, allocations: 278 kB / 1.518 GB, free: 11.87 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.586, allocations: 24.42 kB / 1.518 GB, free: 11.85 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.5861, allocations: 43 kB / 1.518 GB, free: 11.8 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 1.894e-06/0.5861, allocations: 0 / 1.518 GB, free: 11.8 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.003756/0.5898, allocations: 1.702 MB / 1.52 GB, free: 10.06 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.5899, allocations: 55.84 kB / 1.52 GB, free: 9.988 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.5909, allocations: 0.8097 MB / 1.521 GB, free: 9.168 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.5909, allocations: 37.7 kB / 1.521 GB, free: 9.125 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.5913, allocations: 492.2 kB / 1.521 GB, free: 8.641 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.5915, allocations: 174.5 kB / 1.521 GB, free: 8.469 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.5917, allocations: 118.2 kB / 1.521 GB, free: 8.348 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5918, allocations: 333.9 kB / 1.522 GB, free: 8.016 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004289/0.5923, allocations: 249.1 kB / 1.522 GB, free: 7.773 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.5928, allocations: 404.6 kB / 1.522 GB, free: 7.328 MB / 1.217 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.003797/0.5966, allocations: 1.448 MB / 1.524 GB, free: 5.844 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5966, allocations: 0 / 1.524 GB, free: 5.844 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001364/0.598, allocations: 0.7874 MB / 1.524 GB, free: 5.047 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.598, allocations: 9.406 kB / 1.524 GB, free: 5.039 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.598, allocations: 0 / 1.524 GB, free: 5.039 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.5983, allocations: 93.98 kB / 1.525 GB, free: 4.941 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.599, allocations: 147.8 kB / 1.525 GB, free: 4.797 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003107/0.6021, allocations: 3.078 MB / 1.528 GB, free: 1.488 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/0.6029, allocations: 27.92 kB / 1.528 GB, free: 1.461 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.6029, allocations: 27.98 kB / 1.528 GB, free: 1.434 MB / 1.217 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.0004695/0.6034, allocations: 297.6 kB / 1.528 GB, free: 1.133 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.6035, allocations: 103.3 kB / 1.528 GB, free: 1.031 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.6037, allocations: 100.7 kB / 1.528 GB, free: 0.9297 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6037, allocations: 8.062 kB / 1.528 GB, free: 0.9219 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6037, allocations: 0 / 1.528 GB, free: 0.9219 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/0.6049, allocations: 0.8465 MB / 1.529 GB, free: 15.98 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.6077, allocations: 1.622 MB / 1.531 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6077, allocations: 4 kB / 1.531 GB, free: 14.26 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.6083, allocations: 132 kB / 1.531 GB, free: 14.13 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.6086, allocations: 73.22 kB / 1.531 GB, free: 14.06 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.6086, allocations: 12 kB / 1.531 GB, free: 14.05 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.6103, allocations: 1.679 MB / 1.532 GB, free: 12.26 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6103, allocations: 4 kB / 1.532 GB, free: 12.25 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.6119, allocations: 1.078 MB / 1.534 GB, free: 11.12 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.6123, allocations: 167.3 kB / 1.534 GB, free: 10.96 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.6124, allocations: 16 kB / 1.534 GB, free: 10.94 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006687/0.6131, allocations: 29.17 kB / 1.534 GB, free: 10.91 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.6132, allocations: 39.88 kB / 1.534 GB, free: 10.88 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.6133, allocations: 35.98 kB / 1.534 GB, free: 10.84 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000694/0.6139, allocations: 0.5615 MB / 1.534 GB, free: 10.29 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6139, allocations: 4 kB / 1.534 GB, free: 10.28 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008025/0.6147, allocations: 280 kB / 1.535 GB, free: 10.01 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.002056/0.6168, allocations: 1.697 MB / 1.536 GB, free: 8.238 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.618, allocations: 0.769 MB / 1.537 GB, free: 7.445 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.618, allocations: 12 kB / 1.537 GB, free: 7.434 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005617/0.6186, allocations: 394.3 kB / 1.537 GB, free: 7.035 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.621, allocations: 0.6207 MB / 1.538 GB, free: 6.43 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009397/0.6304, allocations: 6.995 MB / 1.545 GB, free: 15.14 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.6309, allocations: 0.489 MB / 1.545 GB, free: 14.62 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007021/0.6316, allocations: 211.7 kB / 1.546 GB, free: 14.41 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.6321, allocations: 343.3 kB / 1.546 GB, free: 14.07 MB / 1.248 GB Notification: Performance of SimCode: time 1.082e-06/0.6321, allocations: 0 / 1.546 GB, free: 14.07 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07012/0.7022, allocations: 31 MB / 1.576 GB, free: 15.74 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.18, allocations: 4 kB / 1.576 GB, free: 15.73 MB / 1.279 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.24944530200446]