Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 102.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 443.5 MB / 0.7287 GB, free: 14.66 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 67.91 kB / 1.056 GB, free: 2.562 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3238, allocations: 160.7 MB / 1.213 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9275/1.251, allocations: 191.3 MB / 1.4 GB, free: 9.352 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0114/1.263, allocations: 5.74 MB / 1.405 GB, free: 4.676 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/1.265, allocations: 42.06 kB / 1.405 GB, free: 4.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002271/1.267, allocations: 0.6027 MB / 1.406 GB, free: 4.168 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005866/1.273, allocations: 1.914 MB / 1.408 GB, free: 2.684 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/1.277, allocations: 1.196 MB / 1.409 GB, free: 1.773 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004702/1.281, allocations: 2.941 MB / 1.412 GB, free: 92 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/1.283, allocations: 0.8141 MB / 1.413 GB, free: 15.55 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/1.285, allocations: 1.106 MB / 1.414 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/1.287, allocations: 0.9758 MB / 1.415 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002898/1.288, allocations: 108.3 kB / 1.415 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/1.291, allocations: 1.521 MB / 1.416 GB, free: 13.48 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008472/1.292, allocations: 471 kB / 1.417 GB, free: 13.16 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001648/1.294, allocations: 0.6482 MB / 1.417 GB, free: 12.75 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00483/1.299, allocations: 2.149 MB / 1.419 GB, free: 11.36 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.299, allocations: 0 / 1.419 GB, free: 11.36 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.883e-06/1.299, allocations: 0 / 1.419 GB, free: 11.36 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.79e-05/1.299, allocations: 0 / 1.419 GB, free: 11.36 MB / 1.092 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.003681/1.302, allocations: 1.55 MB / 1.421 GB, free: 10.18 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.302, allocations: 10.09 kB / 1.421 GB, free: 10.18 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00027/1.303, allocations: 140.5 kB / 1.421 GB, free: 10.07 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/1.305, allocations: 323.3 kB / 1.421 GB, free: 9.918 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/1.307, allocations: 0.8615 MB / 1.422 GB, free: 9.25 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/1.307, allocations: 69.25 kB / 1.422 GB, free: 9.219 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.307, allocations: 80.31 kB / 1.422 GB, free: 9.195 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/1.309, allocations: 0.9116 MB / 1.423 GB, free: 8.676 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/1.309, allocations: 0 / 1.423 GB, free: 8.676 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/1.309, allocations: 33.78 kB / 1.423 GB, free: 8.652 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/1.309, allocations: 38.02 kB / 1.423 GB, free: 8.641 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/1.31, allocations: 0.8243 MB / 1.424 GB, free: 8.246 MB / 1.092 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.00623/1.316, allocations: 3.518 MB / 1.428 GB, free: 5.461 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008635/1.317, allocations: 480.2 kB / 1.428 GB, free: 5 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/1.318, allocations: 283 kB / 1.428 GB, free: 4.723 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/1.318, allocations: 101.5 kB / 1.428 GB, free: 4.605 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/1.318, allocations: 46.91 kB / 1.428 GB, free: 4.551 MB / 1.092 GB Notification: Performance of pre-optimization done (n=47): time 2.495e-06/1.318, allocations: 0 / 1.428 GB, free: 4.551 MB / 1.092 GB Notification: Performance of matching and sorting (n=49): time 0.00455/1.322, allocations: 1.936 MB / 1.43 GB, free: 2.516 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.322, allocations: 63.83 kB / 1.43 GB, free: 2.441 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/1.324, allocations: 0.802 MB / 1.431 GB, free: 1.629 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.278e-05/1.324, allocations: 37.7 kB / 1.431 GB, free: 1.586 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/1.324, allocations: 484.3 kB / 1.432 GB, free: 1.109 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/1.324, allocations: 178.4 kB / 1.432 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/1.325, allocations: 114.3 kB / 1.432 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.325, allocations: 333.9 kB / 1.432 GB, free: 492 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/1.325, allocations: 239.9 kB / 1.433 GB, free: 256 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/1.326, allocations: 361.2 kB / 1.433 GB, free: 15.86 MB / 1.107 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.003888/1.33, allocations: 1.53 MB / 1.434 GB, free: 14.27 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.33, allocations: 0 / 1.434 GB, free: 14.27 MB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001546/1.331, allocations: 0.793 MB / 1.435 GB, free: 13.47 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.331, allocations: 8 kB / 1.435 GB, free: 13.46 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.331, allocations: 0 / 1.435 GB, free: 13.46 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/1.331, allocations: 89.66 kB / 1.435 GB, free: 13.37 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006452/1.332, allocations: 151.8 kB / 1.435 GB, free: 13.22 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/1.336, allocations: 3.305 MB / 1.439 GB, free: 9.645 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009055/1.337, allocations: 31.91 kB / 1.439 GB, free: 9.613 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/1.337, allocations: 24 kB / 1.439 GB, free: 9.59 MB / 1.107 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.000548/1.337, allocations: 301.6 kB / 1.439 GB, free: 9.285 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/1.337, allocations: 103.4 kB / 1.439 GB, free: 9.184 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/1.337, allocations: 100.7 kB / 1.439 GB, free: 9.078 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.337, allocations: 4 kB / 1.439 GB, free: 9.074 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.337, allocations: 0 / 1.439 GB, free: 9.074 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/1.339, allocations: 0.8427 MB / 1.44 GB, free: 8.141 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/1.342, allocations: 1.79 MB / 1.442 GB, free: 6.25 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.342, allocations: 0 / 1.442 GB, free: 6.25 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006281/1.343, allocations: 127.8 kB / 1.442 GB, free: 6.125 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002307/1.343, allocations: 73.16 kB / 1.442 GB, free: 6.051 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/1.343, allocations: 16 kB / 1.442 GB, free: 6.035 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/1.345, allocations: 1.782 MB / 1.444 GB, free: 4.121 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.345, allocations: 4.031 kB / 1.444 GB, free: 4.117 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/1.346, allocations: 1.07 MB / 1.445 GB, free: 2.988 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/1.347, allocations: 240.3 kB / 1.445 GB, free: 2.734 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/1.347, allocations: 20.81 kB / 1.445 GB, free: 2.715 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/1.348, allocations: 34 kB / 1.445 GB, free: 2.684 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/1.348, allocations: 51.88 kB / 1.445 GB, free: 2.633 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/1.348, allocations: 27.98 kB / 1.445 GB, free: 2.605 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008209/1.349, allocations: 0.5576 MB / 1.446 GB, free: 2.055 MB / 1.107 GB Notification: Performance of sort global known variables: time 6e-08/1.349, allocations: 0 / 1.446 GB, free: 2.055 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001/1.35, allocations: 284 kB / 1.446 GB, free: 1.777 MB / 1.107 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.002544/1.352, allocations: 1.701 MB / 1.448 GB, free: 12 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001532/1.354, allocations: 0.7881 MB / 1.448 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.354, allocations: 0 / 1.448 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006147/1.354, allocations: 403.8 kB / 1.449 GB, free: 14.79 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/1.357, allocations: 0.6106 MB / 1.449 GB, free: 14.2 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/1.368, allocations: 7.014 MB / 1.456 GB, free: 6.906 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008255/1.369, allocations: 1.084 MB / 1.457 GB, free: 5.789 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008875/1.37, allocations: 219.7 kB / 1.457 GB, free: 5.57 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/1.37, allocations: 343.3 kB / 1.458 GB, free: 5.238 MB / 1.123 GB Notification: Performance of SimCode: time 1.312e-06/1.37, allocations: 4 kB / 1.458 GB, free: 5.234 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09643/1.467, allocations: 28.15 MB / 1.485 GB, free: 9.594 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.97, allocations: 13.7 kB / 1.485 GB, free: 9.582 MB / 1.154 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 21.13747929316014]