Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.001379/0.001379, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001616/0.001616, allocations: 215.3 kB / 23.04 MB, free: 5.074 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.843/2.843, allocations: 476.7 MB / 0.7715 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] 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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.002034/0.002034, allocations: 61.91 kB / 1.118 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3354, allocations: 170 MB / 1.284 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2648/0.6002, allocations: 225.5 MB / 1.504 GB, free: 9.309 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.6104, allocations: 5.772 MB / 1.51 GB, free: 3.523 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.6118, allocations: 59.5 kB / 1.51 GB, free: 3.465 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.6135, allocations: 0.6098 MB / 1.511 GB, free: 2.852 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004908/0.6185, allocations: 1.945 MB / 1.513 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003732/0.6222, allocations: 1.249 MB / 1.514 GB, free: 15.66 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005186/0.6274, allocations: 3.034 MB / 1.517 GB, free: 12.62 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.6289, allocations: 0.7813 MB / 1.517 GB, free: 11.81 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.6313, allocations: 1.129 MB / 1.519 GB, free: 10.68 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.6341, allocations: 1.009 MB / 1.52 GB, free: 9.68 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003046/0.6344, allocations: 108 kB / 1.52 GB, free: 9.574 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003908/0.6383, allocations: 1.543 MB / 1.521 GB, free: 8.027 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000766/0.6391, allocations: 482.5 kB / 1.522 GB, free: 7.555 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.6402, allocations: 0.6534 MB / 1.522 GB, free: 6.898 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004131/0.6444, allocations: 2.141 MB / 1.524 GB, free: 4.75 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.6444, allocations: 0 / 1.524 GB, free: 4.75 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6444, allocations: 4 kB / 1.524 GB, free: 4.746 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.009e-05/0.6444, allocations: 0 / 1.524 GB, free: 4.746 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002854/0.6473, allocations: 1.469 MB / 1.526 GB, free: 3.238 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.6473, allocations: 8.031 kB / 1.526 GB, free: 3.23 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.49e-05/0.6473, allocations: 22 kB / 1.526 GB, free: 3.211 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/0.6475, allocations: 143.3 kB / 1.526 GB, free: 3.062 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.6496, allocations: 322.9 kB / 1.526 GB, free: 2.746 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.6514, allocations: 0.7877 MB / 1.527 GB, free: 1.934 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/0.6514, allocations: 62 kB / 1.527 GB, free: 1.871 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.6516, allocations: 87.94 kB / 1.527 GB, free: 1.785 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.6534, allocations: 0.917 MB / 1.528 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.6535, allocations: 0 / 1.528 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.6536, allocations: 39.94 kB / 1.528 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.538e-05/0.6536, allocations: 41.97 kB / 1.528 GB, free: 0.7812 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.6552, allocations: 0.8276 MB / 1.529 GB, free: 15.95 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.00618/0.6614, allocations: 3.468 MB / 1.532 GB, free: 12.27 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.6622, allocations: 468.4 kB / 1.533 GB, free: 11.8 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004857/0.6627, allocations: 287.2 kB / 1.533 GB, free: 11.52 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.6629, allocations: 32.34 kB / 1.533 GB, free: 11.49 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.6629, allocations: 43 kB / 1.533 GB, free: 11.44 MB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.6629, allocations: 0 / 1.533 GB, free: 11.44 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.004268/0.6672, allocations: 1.663 MB / 1.535 GB, free: 9.734 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.6673, allocations: 59.84 kB / 1.535 GB, free: 9.664 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.6685, allocations: 0.8097 MB / 1.536 GB, free: 8.844 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 8.823e-05/0.6686, allocations: 37.7 kB / 1.536 GB, free: 8.801 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005016/0.6691, allocations: 480.2 kB / 1.536 GB, free: 8.324 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.6693, allocations: 190.4 kB / 1.536 GB, free: 8.137 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.6696, allocations: 118.2 kB / 1.536 GB, free: 8.016 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.6697, allocations: 330 kB / 1.537 GB, free: 7.688 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.6702, allocations: 245.2 kB / 1.537 GB, free: 7.449 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.6708, allocations: 380.6 kB / 1.537 GB, free: 7.023 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.004015/0.6749, allocations: 1.459 MB / 1.539 GB, free: 5.527 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.6749, allocations: 7.938 kB / 1.539 GB, free: 5.52 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001718/0.6766, allocations: 0.7875 MB / 1.54 GB, free: 4.719 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.6766, allocations: 8 kB / 1.54 GB, free: 4.711 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6766, allocations: 0 / 1.54 GB, free: 4.711 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.6768, allocations: 77.61 kB / 1.54 GB, free: 4.629 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/0.6776, allocations: 156.1 kB / 1.54 GB, free: 4.477 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/0.6808, allocations: 2.91 MB / 1.543 GB, free: 1.332 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.6818, allocations: 32.36 kB / 1.543 GB, free: 1.305 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/0.6819, allocations: 35.92 kB / 1.543 GB, free: 1.27 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: 14 * 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 (71): * Single equations (assignments): 69 * 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,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006419/0.6825, allocations: 305.5 kB / 1.543 GB, free: 0.9609 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.6827, allocations: 95.39 kB / 1.543 GB, free: 0.8672 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.6829, allocations: 104.7 kB / 1.543 GB, free: 0.7656 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.6829, allocations: 8 kB / 1.543 GB, free: 0.7578 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6829, allocations: 4 kB / 1.543 GB, free: 0.7539 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001248/0.6842, allocations: 0.8272 MB / 1.544 GB, free: 15.83 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.6875, allocations: 1.763 MB / 1.546 GB, free: 13.98 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6875, allocations: 4 kB / 1.546 GB, free: 13.98 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/0.6881, allocations: 127.9 kB / 1.546 GB, free: 13.85 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.6882, allocations: 44.7 kB / 1.546 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.6883, allocations: 16 kB / 1.546 GB, free: 13.79 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/0.6898, allocations: 1.499 MB / 1.547 GB, free: 12.18 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.6898, allocations: 4 kB / 1.547 GB, free: 12.17 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.6916, allocations: 1.067 MB / 1.548 GB, free: 11.04 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005017/0.6922, allocations: 163.3 kB / 1.549 GB, free: 10.88 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.6923, allocations: 20 kB / 1.549 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/0.6929, allocations: 27.97 kB / 1.549 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.6931, allocations: 43.88 kB / 1.549 GB, free: 10.79 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.6931, allocations: 27.98 kB / 1.549 GB, free: 10.77 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008418/0.694, allocations: 0.5653 MB / 1.549 GB, free: 10.2 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.41e-07/0.694, allocations: 4 kB / 1.549 GB, free: 10.2 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009309/0.6949, allocations: 276 kB / 1.549 GB, free: 9.93 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 (47): * Single equations (assignments): 46 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00235/0.6973, allocations: 1.685 MB / 1.551 GB, free: 8.176 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.6988, allocations: 0.7762 MB / 1.552 GB, free: 7.371 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.6988, allocations: 4 kB / 1.552 GB, free: 7.367 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000645/0.6994, allocations: 400 kB / 1.552 GB, free: 6.965 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/0.7024, allocations: 0.6113 MB / 1.553 GB, free: 6.371 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/0.714, allocations: 7.036 MB / 1.56 GB, free: 15.04 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009832/0.715, allocations: 1.088 MB / 1.561 GB, free: 13.92 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.000932/0.716, allocations: 219.7 kB / 1.561 GB, free: 13.7 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.7164, allocations: 339.3 kB / 1.561 GB, free: 13.37 MB / 1.264 GB Notification: Performance of SimCode: time 1.353e-06/0.7165, allocations: 0 / 1.561 GB, free: 13.37 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07541/0.7919, allocations: 28.11 MB / 1.589 GB, free: 1.707 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.17, allocations: 11.08 kB / 1.589 GB, free: 1.699 MB / 1.279 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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: 23.143612321990076]