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.001249/0.001249, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001538/0.001538, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8856/0.8856, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.639/1.639, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.64e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5628/0.5628, allocations: 168.3 MB / 1.115 GB, free: 33.01 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006291/0.5691, allocations: 5.431 MB / 1.12 GB, free: 29.31 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006331/0.5698, allocations: 57.44 kB / 1.12 GB, free: 29.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.5709, allocations: 0.5709 MB / 1.121 GB, free: 28.97 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.5738, allocations: 1.969 MB / 1.123 GB, free: 27.87 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.5757, allocations: 1.245 MB / 1.124 GB, free: 27.21 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002533/0.5783, allocations: 3.051 MB / 1.127 GB, free: 25.78 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007854/0.579, allocations: 0.7444 MB / 1.128 GB, free: 25.42 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.5806, allocations: 1.456 MB / 1.129 GB, free: 24.77 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.5819, allocations: 0.8716 MB / 1.13 GB, free: 24.49 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.5821, allocations: 108.6 kB / 1.13 GB, free: 24.49 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.5841, allocations: 1.21 MB / 1.131 GB, free: 24.04 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000397/0.5845, allocations: 0.4992 MB / 1.132 GB, free: 23.8 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.5849, allocations: 477 kB / 1.132 GB, free: 23.61 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.5872, allocations: 2.167 MB / 1.134 GB, free: 22.87 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5872, allocations: 5.281 kB / 1.134 GB, free: 22.87 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5872, allocations: 0 / 1.134 GB, free: 22.87 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.5872, allocations: 0 / 1.134 GB, free: 22.87 MB / 0.9948 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.002036/0.5892, allocations: 1.459 MB / 1.136 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.5893, allocations: 9.938 kB / 1.136 GB, free: 21.95 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/0.5895, allocations: 139.8 kB / 1.136 GB, free: 21.85 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.5908, allocations: 325.3 kB / 1.136 GB, free: 21.76 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5921, allocations: 0.785 MB / 1.137 GB, free: 21.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.5921, allocations: 65 kB / 1.137 GB, free: 21.27 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.5923, allocations: 79.75 kB / 1.137 GB, free: 21.24 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.5938, allocations: 1.362 MB / 1.138 GB, free: 20.34 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.5938, allocations: 0 / 1.138 GB, free: 20.34 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.5939, allocations: 41.03 kB / 1.138 GB, free: 20.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.5939, allocations: 36.33 kB / 1.138 GB, free: 20.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.595, allocations: 0.828 MB / 1.139 GB, free: 20.02 MB / 0.9948 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.003427/0.5985, allocations: 2.533 MB / 1.142 GB, free: 18.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.599, allocations: 473.8 kB / 1.142 GB, free: 18.6 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.5993, allocations: 281.2 kB / 1.142 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.5994, allocations: 21.75 kB / 1.143 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.5995, allocations: 44.75 kB / 1.143 GB, free: 18.45 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=47): time 2.335e-06/0.5995, allocations: 0 / 1.143 GB, free: 18.45 MB / 0.9948 GB Notification: Performance of matching and sorting (n=49): time 0.002376/0.6018, allocations: 1.717 MB / 1.144 GB, free: 17.62 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.6019, allocations: 56 kB / 1.144 GB, free: 17.56 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007202/0.6026, allocations: 0.8095 MB / 1.145 GB, free: 17.23 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.6026, allocations: 37.95 kB / 1.145 GB, free: 17.2 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.6028, allocations: 489.2 kB / 1.146 GB, free: 16.81 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.6029, allocations: 180.8 kB / 1.146 GB, free: 16.66 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.603, allocations: 110.4 kB / 1.146 GB, free: 16.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.017e-05/0.6031, allocations: 326.8 kB / 1.146 GB, free: 16.29 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.6034, allocations: 240.9 kB / 1.146 GB, free: 16.21 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.6038, allocations: 410.3 kB / 1.147 GB, free: 15.95 MB / 0.9948 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.002155/0.6059, allocations: 1.449 MB / 1.148 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6059, allocations: 9.281 kB / 1.148 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008584/0.6068, allocations: 0.7868 MB / 1.149 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6068, allocations: 7.188 kB / 1.149 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6068, allocations: 3.031 kB / 1.149 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.607, allocations: 98.41 kB / 1.149 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.6073, allocations: 142.9 kB / 1.149 GB, free: 15 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.6089, allocations: 3.081 MB / 1.152 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.6092, allocations: 29.66 kB / 1.152 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.6092, allocations: 27.16 kB / 1.152 GB, free: 12.24 MB / 0.9948 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.0002727/0.6095, allocations: 308.1 kB / 1.153 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.6096, allocations: 94.38 kB / 1.153 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.255e-05/0.6097, allocations: 100.8 kB / 1.153 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6097, allocations: 4.531 kB / 1.153 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6097, allocations: 2 kB / 1.153 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006385/0.6104, allocations: 0.8394 MB / 1.154 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.6123, allocations: 1.632 MB / 1.155 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6123, allocations: 3.969 kB / 1.155 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.6127, allocations: 129.8 kB / 1.155 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001437/0.6128, allocations: 75.27 kB / 1.155 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.6128, allocations: 16.55 kB / 1.155 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000851/0.6137, allocations: 1.669 MB / 1.157 GB, free: 8.984 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.6137, allocations: 5.25 kB / 1.157 GB, free: 8.984 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009662/0.6146, allocations: 1.062 MB / 1.158 GB, free: 8.41 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.6149, allocations: 155.9 kB / 1.158 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.6149, allocations: 14.69 kB / 1.158 GB, free: 8.324 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.6153, allocations: 38.25 kB / 1.158 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.6153, allocations: 45.67 kB / 1.158 GB, free: 8.297 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.6154, allocations: 28.33 kB / 1.158 GB, free: 8.293 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004845/0.6159, allocations: 0.5587 MB / 1.159 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3e-08/0.6159, allocations: 0 / 1.159 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005925/0.6165, allocations: 281 kB / 1.159 GB, free: 8.043 MB / 0.9948 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.001313/0.6178, allocations: 1.694 MB / 1.161 GB, free: 6.902 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008063/0.6186, allocations: 0.7803 MB / 1.162 GB, free: 6.488 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6186, allocations: 2.156 kB / 1.162 GB, free: 6.488 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.6189, allocations: 404.7 kB / 1.162 GB, free: 6.273 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.6204, allocations: 0.6176 MB / 1.163 GB, free: 6.102 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0062/0.6266, allocations: 6.966 MB / 1.169 GB, free: 2.406 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.6269, allocations: 499.4 kB / 1.17 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005254/0.6274, allocations: 214.9 kB / 1.17 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/0.6277, allocations: 341.2 kB / 1.17 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of SimCode: time 1.172e-06/0.6277, allocations: 4 kB / 1.17 GB, free: 1.945 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0459/0.6736, allocations: 30.78 MB / 1.2 GB, free: 6.02 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.9/9.574, allocations: 8.219 kB / 1.2 GB, free: 6.02 MB / 1.01 GB " [Timeout remaining time 290] (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/jenkins/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: 13.603174268268049]