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.001588/0.001588, allocations: 116.1 kB / 17.17 MB, free: 6 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.002059/0.002059, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] 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.783/2.783, allocations: 0.49 GB / 0.7923 GB, free: 1.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.00197/0.00197, allocations: 63.91 kB / 1.15 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9581/0.9601, allocations: 176.1 MB / 1.322 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2414/1.202, allocations: 194.3 MB / 1.511 GB, free: 7.078 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01037/1.212, allocations: 5.764 MB / 1.517 GB, free: 1.297 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/1.214, allocations: 55.56 kB / 1.517 GB, free: 1.242 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/1.215, allocations: 0.6058 MB / 1.517 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005204/1.221, allocations: 1.917 MB / 1.519 GB, free: 14.71 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/1.224, allocations: 1.216 MB / 1.521 GB, free: 13.5 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004203/1.228, allocations: 2.936 MB / 1.523 GB, free: 10.56 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/1.229, allocations: 0.8132 MB / 1.524 GB, free: 9.734 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002673/1.232, allocations: 1.312 MB / 1.525 GB, free: 8.418 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/1.234, allocations: 0.9688 MB / 1.526 GB, free: 7.453 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/1.234, allocations: 108 kB / 1.527 GB, free: 7.348 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/1.238, allocations: 1.504 MB / 1.528 GB, free: 5.84 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005352/1.238, allocations: 470.6 kB / 1.528 GB, free: 5.379 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008013/1.239, allocations: 0.6572 MB / 1.529 GB, free: 4.719 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003219/1.242, allocations: 2.141 MB / 1.531 GB, free: 2.57 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.242, allocations: 3.984 kB / 1.531 GB, free: 2.566 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.463e-06/1.242, allocations: 0 / 1.531 GB, free: 2.566 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.842e-05/1.242, allocations: 0 / 1.531 GB, free: 2.566 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.002669/1.245, allocations: 1.549 MB / 1.533 GB, free: 0.9609 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.245, allocations: 11.98 kB / 1.533 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.887e-05/1.245, allocations: 30 kB / 1.533 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/1.245, allocations: 143.2 kB / 1.533 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/1.247, allocations: 322.9 kB / 1.533 GB, free: 468 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/1.248, allocations: 0.8601 MB / 1.534 GB, free: 15.55 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/1.249, allocations: 66 kB / 1.534 GB, free: 15.48 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/1.249, allocations: 87.75 kB / 1.534 GB, free: 15.4 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/1.25, allocations: 0.9091 MB / 1.535 GB, free: 14.49 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/1.25, allocations: 0 / 1.535 GB, free: 14.49 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.303e-05/1.25, allocations: 40 kB / 1.535 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/1.25, allocations: 34 kB / 1.535 GB, free: 14.42 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/1.252, allocations: 0.8276 MB / 1.536 GB, free: 13.59 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.005582/1.257, allocations: 3.518 MB / 1.539 GB, free: 9.852 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008101/1.258, allocations: 476.4 kB / 1.54 GB, free: 9.375 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/1.259, allocations: 274.5 kB / 1.54 GB, free: 9.105 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/1.259, allocations: 101.5 kB / 1.54 GB, free: 8.988 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.259, allocations: 43 kB / 1.54 GB, free: 8.938 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/1.259, allocations: 0 / 1.54 GB, free: 8.938 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.004266/1.263, allocations: 1.94 MB / 1.542 GB, free: 6.906 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/1.263, allocations: 55.84 kB / 1.542 GB, free: 6.836 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/1.264, allocations: 0.802 MB / 1.543 GB, free: 6.027 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/1.264, allocations: 37.7 kB / 1.543 GB, free: 5.984 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/1.265, allocations: 492.2 kB / 1.543 GB, free: 5.496 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/1.265, allocations: 186.4 kB / 1.544 GB, free: 5.312 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/1.265, allocations: 110.3 kB / 1.544 GB, free: 5.199 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.265, allocations: 330 kB / 1.544 GB, free: 4.871 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/1.266, allocations: 241.2 kB / 1.544 GB, free: 4.633 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/1.266, allocations: 353.2 kB / 1.545 GB, free: 4.254 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.003908/1.27, allocations: 1.529 MB / 1.546 GB, free: 2.676 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.27, allocations: 0 / 1.546 GB, free: 2.676 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001539/1.272, allocations: 0.7928 MB / 1.547 GB, free: 1.871 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.272, allocations: 4 kB / 1.547 GB, free: 1.867 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.272, allocations: 4 kB / 1.547 GB, free: 1.863 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/1.272, allocations: 101.9 kB / 1.547 GB, free: 1.758 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/1.273, allocations: 143.8 kB / 1.547 GB, free: 1.617 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/1.276, allocations: 3.297 MB / 1.55 GB, free: 14.04 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/1.277, allocations: 35.88 kB / 1.55 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/1.277, allocations: 20 kB / 1.55 GB, free: 13.98 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: 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.0005104/1.278, allocations: 301.7 kB / 1.551 GB, free: 13.68 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/1.278, allocations: 91.44 kB / 1.551 GB, free: 13.59 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/1.278, allocations: 100.7 kB / 1.551 GB, free: 13.49 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/1.278, allocations: 11.94 kB / 1.551 GB, free: 13.48 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.278, allocations: 7.875 kB / 1.551 GB, free: 13.47 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/1.279, allocations: 0.8349 MB / 1.552 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/1.282, allocations: 1.788 MB / 1.553 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.282, allocations: 4 kB / 1.553 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/1.283, allocations: 132.4 kB / 1.554 GB, free: 10.53 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/1.283, allocations: 68.81 kB / 1.554 GB, free: 10.46 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/1.283, allocations: 16 kB / 1.554 GB, free: 10.44 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.285, allocations: 1.785 MB / 1.555 GB, free: 8.516 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.285, allocations: 4 kB / 1.555 GB, free: 8.512 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/1.287, allocations: 1.077 MB / 1.556 GB, free: 7.375 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/1.287, allocations: 240.5 kB / 1.557 GB, free: 7.121 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.287, allocations: 16.06 kB / 1.557 GB, free: 7.105 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/1.288, allocations: 32.48 kB / 1.557 GB, free: 7.078 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.288, allocations: 51.83 kB / 1.557 GB, free: 7.027 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.519e-05/1.288, allocations: 27.98 kB / 1.557 GB, free: 7 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007708/1.289, allocations: 0.5576 MB / 1.557 GB, free: 6.445 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/1.289, allocations: 4 kB / 1.557 GB, free: 6.441 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009489/1.29, allocations: 284 kB / 1.558 GB, free: 6.164 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.002353/1.292, allocations: 1.688 MB / 1.559 GB, free: 4.402 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001512/1.294, allocations: 0.7843 MB / 1.56 GB, free: 3.594 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.294, allocations: 4 kB / 1.56 GB, free: 3.59 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006353/1.294, allocations: 411.5 kB / 1.56 GB, free: 3.176 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/1.297, allocations: 0.5991 MB / 1.561 GB, free: 2.594 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.307, allocations: 6.998 MB / 1.568 GB, free: 11.3 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007536/1.308, allocations: 1.087 MB / 1.569 GB, free: 10.18 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007999/1.309, allocations: 211.7 kB / 1.569 GB, free: 9.973 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/1.309, allocations: 351.3 kB / 1.569 GB, free: 9.629 MB / 1.248 GB Notification: Performance of SimCode: time 8.92e-07/1.309, allocations: 3.938 kB / 1.569 GB, free: 9.625 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06538/1.375, allocations: 28.24 MB / 1.597 GB, free: 13.89 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.35, allocations: 8 kB / 1.597 GB, free: 13.88 MB / 1.279 GB " [Timeout remaining time 285] (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: 20.611004545993637]