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.001287/0.001287, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001414/0.001414, allocations: 220.5 kB / 22.25 MB, free: 5.215 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 8 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.971/2.971, allocations: 476.7 MB / 0.7707 GB, free: 4.289 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.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.002167/0.002167, allocations: 61.09 kB / 1.117 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3674, allocations: 169.9 MB / 1.283 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2906/0.658, allocations: 225.5 MB / 1.504 GB, free: 1.434 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.6711, allocations: 5.77 MB / 1.509 GB, free: 11.65 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.6729, allocations: 55.5 kB / 1.509 GB, free: 11.59 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.6749, allocations: 0.6059 MB / 1.51 GB, free: 10.98 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005693/0.6806, allocations: 1.95 MB / 1.512 GB, free: 9.027 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.6842, allocations: 1.25 MB / 1.513 GB, free: 7.785 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004873/0.6891, allocations: 3.03 MB / 1.516 GB, free: 4.75 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.6907, allocations: 0.7658 MB / 1.517 GB, free: 3.961 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.6933, allocations: 1.144 MB / 1.518 GB, free: 2.812 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/0.6963, allocations: 1.015 MB / 1.519 GB, free: 1.805 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003931/0.6967, allocations: 108 kB / 1.519 GB, free: 1.699 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.7004, allocations: 1.539 MB / 1.52 GB, free: 160 kB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008057/0.7012, allocations: 482.6 kB / 1.521 GB, free: 15.68 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.7026, allocations: 0.6495 MB / 1.521 GB, free: 15.03 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00445/0.7071, allocations: 2.149 MB / 1.524 GB, free: 12.88 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7071, allocations: 0 / 1.524 GB, free: 12.88 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7071, allocations: 0 / 1.524 GB, free: 12.88 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.227e-05/0.7071, allocations: 0 / 1.524 GB, free: 12.88 MB / 1.232 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.003589/0.7107, allocations: 1.466 MB / 1.525 GB, free: 11.37 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.7108, allocations: 12.03 kB / 1.525 GB, free: 11.36 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003394/0.7111, allocations: 147.2 kB / 1.525 GB, free: 11.21 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.7134, allocations: 318.9 kB / 1.525 GB, free: 10.89 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/0.7153, allocations: 0.7916 MB / 1.526 GB, free: 10.08 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.7154, allocations: 62 kB / 1.526 GB, free: 10.02 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.7156, allocations: 91.94 kB / 1.526 GB, free: 9.93 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.7175, allocations: 0.9091 MB / 1.527 GB, free: 9.016 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.7175, allocations: 0 / 1.527 GB, free: 9.016 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/0.7176, allocations: 36 kB / 1.527 GB, free: 8.98 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.977e-05/0.7177, allocations: 41.94 kB / 1.527 GB, free: 8.938 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.7193, allocations: 0.8315 MB / 1.528 GB, free: 8.105 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.006623/0.726, allocations: 3.472 MB / 1.532 GB, free: 4.41 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008926/0.7268, allocations: 467 kB / 1.532 GB, free: 3.949 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.7274, allocations: 294.7 kB / 1.532 GB, free: 3.66 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.7275, allocations: 24.41 kB / 1.532 GB, free: 3.637 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.7276, allocations: 50.92 kB / 1.532 GB, free: 3.578 MB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 2.515e-06/0.7276, allocations: 0 / 1.532 GB, free: 3.578 MB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.004116/0.7317, allocations: 1.656 MB / 1.534 GB, free: 1.883 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.7317, allocations: 63.84 kB / 1.534 GB, free: 1.809 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.733, allocations: 0.8097 MB / 1.535 GB, free: 0.9922 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 8.61e-05/0.7331, allocations: 37.7 kB / 1.535 GB, free: 0.9492 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.7336, allocations: 480.2 kB / 1.535 GB, free: 488 kB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.7338, allocations: 182.4 kB / 1.536 GB, free: 304 kB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.734, allocations: 114.3 kB / 1.536 GB, free: 184 kB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.7342, allocations: 334 kB / 1.536 GB, free: 15.85 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.7347, allocations: 249.2 kB / 1.536 GB, free: 15.61 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/0.7353, allocations: 380.6 kB / 1.537 GB, free: 15.18 MB / 1.248 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.003878/0.7392, allocations: 1.458 MB / 1.538 GB, free: 13.69 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.7392, allocations: 4 kB / 1.538 GB, free: 13.68 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001606/0.7408, allocations: 0.7916 MB / 1.539 GB, free: 12.88 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.7408, allocations: 12 kB / 1.539 GB, free: 12.87 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7409, allocations: 0 / 1.539 GB, free: 12.87 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.7411, allocations: 73.7 kB / 1.539 GB, free: 12.79 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.7418, allocations: 143.8 kB / 1.539 GB, free: 12.65 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.745, allocations: 2.91 MB / 1.542 GB, free: 9.508 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.746, allocations: 31.97 kB / 1.542 GB, free: 9.477 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/0.746, allocations: 27.98 kB / 1.542 GB, free: 9.449 MB / 1.248 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.0006393/0.7467, allocations: 309.6 kB / 1.542 GB, free: 9.137 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.7469, allocations: 91.44 kB / 1.542 GB, free: 9.047 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.7472, allocations: 100.7 kB / 1.542 GB, free: 8.945 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.7472, allocations: 8 kB / 1.542 GB, free: 8.938 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.7472, allocations: 4 kB / 1.542 GB, free: 8.934 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/0.7484, allocations: 0.8348 MB / 1.543 GB, free: 8.008 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/0.7522, allocations: 1.763 MB / 1.545 GB, free: 6.152 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.7522, allocations: 3.938 kB / 1.545 GB, free: 6.148 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006323/0.7529, allocations: 136.2 kB / 1.545 GB, free: 6.016 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.753, allocations: 44.77 kB / 1.545 GB, free: 5.969 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.753, allocations: 12 kB / 1.545 GB, free: 5.957 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.7546, allocations: 1.495 MB / 1.547 GB, free: 4.348 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.7546, allocations: 7.938 kB / 1.547 GB, free: 4.34 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.7565, allocations: 1.071 MB / 1.548 GB, free: 3.207 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/0.757, allocations: 163.3 kB / 1.548 GB, free: 3.047 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.7572, allocations: 23.92 kB / 1.548 GB, free: 3.023 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/0.758, allocations: 27.03 kB / 1.548 GB, free: 3 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.7581, allocations: 47.92 kB / 1.548 GB, free: 2.953 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.597e-05/0.7582, allocations: 31.98 kB / 1.548 GB, free: 2.922 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009334/0.7591, allocations: 0.5537 MB / 1.548 GB, free: 2.375 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7591, allocations: 4 kB / 1.548 GB, free: 2.371 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001194/0.7603, allocations: 275.9 kB / 1.549 GB, free: 2.102 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.002492/0.7628, allocations: 1.696 MB / 1.55 GB, free: 352 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.7644, allocations: 0.7766 MB / 1.551 GB, free: 15.53 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.7644, allocations: 4 kB / 1.551 GB, free: 15.52 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006381/0.7651, allocations: 395.8 kB / 1.551 GB, free: 15.12 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/0.768, allocations: 0.5995 MB / 1.552 GB, free: 14.53 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.7798, allocations: 7.047 MB / 1.559 GB, free: 7.199 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009628/0.7808, allocations: 1.084 MB / 1.56 GB, free: 6.082 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009042/0.7817, allocations: 219.7 kB / 1.56 GB, free: 5.863 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/0.7822, allocations: 347.3 kB / 1.561 GB, free: 5.523 MB / 1.264 GB Notification: Performance of SimCode: time 1.072e-06/0.7822, allocations: 0 / 1.561 GB, free: 5.523 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7703/1.553, allocations: 28.07 MB / 1.588 GB, free: 279.3 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/16.4, allocations: 2.469 kB / 1.588 GB, free: 279.3 MB / 1.264 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.216326107969508]