Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001929/0.001929, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.003004/0.003004, allocations: 209.6 kB / 20.13 MB, free: 3.035 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 / 253.5 MB, free: 15.07 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.713/2.713, allocations: 476.7 MB / 0.7678 GB, free: 9.332 MB / 0.6075 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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_11_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.002047/0.002047, allocations: 63.89 kB / 1.113 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2717/1.363, allocations: 194.2 MB / 1.469 GB, free: 9.574 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01201/1.375, allocations: 5.761 MB / 1.474 GB, free: 3.805 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/1.377, allocations: 51.56 kB / 1.474 GB, free: 3.754 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002179/1.38, allocations: 0.6097 MB / 1.475 GB, free: 3.141 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006203/1.386, allocations: 1.91 MB / 1.477 GB, free: 1.223 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00418/1.39, allocations: 1.2 MB / 1.478 GB, free: 32 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005889/1.396, allocations: 2.944 MB / 1.481 GB, free: 13.08 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/1.398, allocations: 0.8132 MB / 1.482 GB, free: 12.25 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/1.401, allocations: 1.121 MB / 1.483 GB, free: 11.13 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002792/1.404, allocations: 0.97 MB / 1.484 GB, free: 10.16 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005018/1.404, allocations: 108 kB / 1.484 GB, free: 10.05 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/1.408, allocations: 1.524 MB / 1.485 GB, free: 8.527 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007551/1.409, allocations: 478.6 kB / 1.486 GB, free: 8.059 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/1.41, allocations: 0.6456 MB / 1.486 GB, free: 7.41 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004095/1.414, allocations: 2.149 MB / 1.488 GB, free: 5.254 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.414, allocations: 0 / 1.488 GB, free: 5.254 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.363e-06/1.414, allocations: 0 / 1.488 GB, free: 5.254 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.759e-05/1.414, allocations: 0 / 1.488 GB, free: 5.254 MB / 1.17 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.002902/1.417, allocations: 1.548 MB / 1.49 GB, free: 3.648 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.417, allocations: 16.03 kB / 1.49 GB, free: 3.633 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.62e-05/1.417, allocations: 22 kB / 1.49 GB, free: 3.613 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/1.417, allocations: 139.2 kB / 1.49 GB, free: 3.469 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/1.419, allocations: 322.9 kB / 1.49 GB, free: 3.152 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/1.421, allocations: 0.8676 MB / 1.491 GB, free: 2.242 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/1.421, allocations: 62 kB / 1.491 GB, free: 2.18 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/1.421, allocations: 83.94 kB / 1.491 GB, free: 2.098 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/1.423, allocations: 0.9131 MB / 1.492 GB, free: 1.176 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/1.423, allocations: 0 / 1.492 GB, free: 1.176 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/1.423, allocations: 40 kB / 1.492 GB, free: 1.137 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.603e-05/1.423, allocations: 37.94 kB / 1.492 GB, free: 1.102 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/1.425, allocations: 0.8237 MB / 1.493 GB, free: 284 kB / 1.17 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.006831/1.431, allocations: 3.518 MB / 1.497 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/1.432, allocations: 478.8 kB / 1.497 GB, free: 12.07 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/1.433, allocations: 274.5 kB / 1.497 GB, free: 11.8 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/1.433, allocations: 97.53 kB / 1.497 GB, free: 11.68 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/1.433, allocations: 47 kB / 1.497 GB, free: 11.63 MB / 1.186 GB Notification: Performance of pre-optimization done (n=47): time 3.056e-06/1.433, allocations: 0 / 1.497 GB, free: 11.63 MB / 1.186 GB Notification: Performance of matching and sorting (n=49): time 0.004538/1.438, allocations: 1.94 MB / 1.499 GB, free: 9.594 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/1.438, allocations: 63.84 kB / 1.499 GB, free: 9.52 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/1.439, allocations: 0.8019 MB / 1.5 GB, free: 8.707 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/1.439, allocations: 37.7 kB / 1.5 GB, free: 8.664 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/1.439, allocations: 488.2 kB / 1.501 GB, free: 8.18 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/1.44, allocations: 182.5 kB / 1.501 GB, free: 8 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/1.44, allocations: 114.2 kB / 1.501 GB, free: 7.883 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.44, allocations: 329.9 kB / 1.501 GB, free: 7.555 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/1.441, allocations: 249.2 kB / 1.502 GB, free: 7.309 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/1.441, allocations: 349.3 kB / 1.502 GB, free: 6.934 MB / 1.186 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.004084/1.445, allocations: 1.53 MB / 1.503 GB, free: 5.352 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.445, allocations: 0 / 1.503 GB, free: 5.352 MB / 1.186 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001599/1.447, allocations: 0.785 MB / 1.504 GB, free: 4.551 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/1.447, allocations: 8 kB / 1.504 GB, free: 4.543 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.447, allocations: 4 kB / 1.504 GB, free: 4.539 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003464/1.447, allocations: 97.92 kB / 1.504 GB, free: 4.438 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007233/1.448, allocations: 147.8 kB / 1.504 GB, free: 4.293 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003887/1.452, allocations: 3.299 MB / 1.508 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/1.453, allocations: 31.88 kB / 1.508 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/1.453, allocations: 28.06 kB / 1.508 GB, free: 0.6562 MB / 1.186 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.0007008/1.454, allocations: 293.6 kB / 1.508 GB, free: 368 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/1.454, allocations: 95.44 kB / 1.508 GB, free: 272 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/1.454, allocations: 100.7 kB / 1.508 GB, free: 168 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.454, allocations: 7.938 kB / 1.508 GB, free: 160 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.454, allocations: 3.938 kB / 1.508 GB, free: 156 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001486/1.456, allocations: 0.8427 MB / 1.509 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004079/1.46, allocations: 1.783 MB / 1.511 GB, free: 13.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.46, allocations: 4.406 kB / 1.511 GB, free: 13.33 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006704/1.461, allocations: 131.8 kB / 1.511 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/1.461, allocations: 64.81 kB / 1.511 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/1.461, allocations: 15.98 kB / 1.511 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/1.463, allocations: 1.794 MB / 1.513 GB, free: 11.19 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/1.463, allocations: 7.938 kB / 1.513 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/1.465, allocations: 1.082 MB / 1.514 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007082/1.466, allocations: 236.5 kB / 1.514 GB, free: 9.785 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/1.466, allocations: 12 kB / 1.514 GB, free: 9.773 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008425/1.467, allocations: 31.97 kB / 1.514 GB, free: 9.742 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/1.467, allocations: 47.83 kB / 1.514 GB, free: 9.695 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/1.467, allocations: 27.98 kB / 1.514 GB, free: 9.668 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000983/1.468, allocations: 0.5615 MB / 1.515 GB, free: 9.109 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.468, allocations: 0 / 1.515 GB, free: 9.109 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00128/1.47, allocations: 280 kB / 1.515 GB, free: 8.836 MB / 1.201 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.002721/1.472, allocations: 1.703 MB / 1.517 GB, free: 7.07 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001776/1.474, allocations: 0.7724 MB / 1.517 GB, free: 6.27 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.474, allocations: 0.6875 kB / 1.517 GB, free: 6.27 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007506/1.475, allocations: 402.3 kB / 1.518 GB, free: 5.863 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/1.478, allocations: 0.6186 MB / 1.518 GB, free: 5.262 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/1.497, allocations: 7.003 MB / 1.525 GB, free: 13.97 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009692/1.498, allocations: 1.084 MB / 1.526 GB, free: 12.86 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001044/1.499, allocations: 219.7 kB / 1.526 GB, free: 12.64 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/1.499, allocations: 343.3 kB / 1.527 GB, free: 12.3 MB / 1.217 GB Notification: Performance of SimCode: time 8.31e-07/1.499, allocations: 0 / 1.527 GB, free: 12.3 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07285/1.572, allocations: 28.24 MB / 1.554 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15.71, allocations: 10.19 kB / 1.554 GB, free: 0.5703 MB / 1.232 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.146133931004442]