Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001516/0.001516, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001612/0.001612, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.415/1.415, allocations: 230.6 MB / 252.8 MB, free: 9.09 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 3.087/3.087, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.001926/0.001926, allocations: 67.8 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3336, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2001/0.5337, allocations: 174.6 MB / 1.491 GB, free: 4.07 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006906/0.5406, allocations: 4.309 MB / 1.495 GB, free: 15.75 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009145/0.5415, allocations: 31.75 kB / 1.496 GB, free: 15.72 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.5429, allocations: 373.8 kB / 1.496 GB, free: 15.35 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003542/0.5464, allocations: 1.268 MB / 1.497 GB, free: 14.08 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.5487, allocations: 0.795 MB / 1.498 GB, free: 13.29 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002388/0.5511, allocations: 1.699 MB / 1.5 GB, free: 11.59 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008429/0.5519, allocations: 495.6 kB / 1.5 GB, free: 11.09 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.5535, allocations: 0.7823 MB / 1.501 GB, free: 10.31 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.555, allocations: 0.5843 MB / 1.501 GB, free: 9.727 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.5551, allocations: 64 kB / 1.501 GB, free: 9.664 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.557, allocations: 0.8418 MB / 1.502 GB, free: 8.82 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004571/0.5575, allocations: 275.2 kB / 1.502 GB, free: 8.551 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008716/0.5584, allocations: 410.3 kB / 1.503 GB, free: 8.148 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.5614, allocations: 1.269 MB / 1.504 GB, free: 6.875 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.5614, allocations: 7.984 kB / 1.504 GB, free: 6.867 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5614, allocations: 0 / 1.504 GB, free: 6.867 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.306e-05/0.5614, allocations: 3.938 kB / 1.504 GB, free: 6.863 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002432/0.5638, allocations: 1.043 MB / 1.505 GB, free: 5.766 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.5639, allocations: 15.98 kB / 1.505 GB, free: 5.75 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/0.5641, allocations: 94.52 kB / 1.505 GB, free: 5.648 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.5654, allocations: 179.3 kB / 1.505 GB, free: 5.473 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009547/0.5663, allocations: 0.5487 MB / 1.506 GB, free: 4.891 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.5664, allocations: 37.31 kB / 1.506 GB, free: 4.855 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.061e-05/0.5665, allocations: 52 kB / 1.506 GB, free: 4.805 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.5676, allocations: 0.6518 MB / 1.507 GB, free: 4.137 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5676, allocations: 0 / 1.507 GB, free: 4.137 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.5677, allocations: 24 kB / 1.507 GB, free: 4.113 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.5677, allocations: 29.23 kB / 1.507 GB, free: 4.082 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009987/0.5687, allocations: 0.5087 MB / 1.507 GB, free: 3.574 MB / 1.201 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.003651/0.5724, allocations: 2.298 MB / 1.509 GB, free: 1.105 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.5729, allocations: 242.8 kB / 1.51 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.5732, allocations: 129.1 kB / 1.51 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.5732, allocations: 3.953 kB / 1.51 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.5732, allocations: 38.56 kB / 1.51 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.5732, allocations: 0 / 1.51 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.00174/0.575, allocations: 0.6703 MB / 1.511 GB, free: 15.96 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.575, allocations: 81.11 kB / 1.511 GB, free: 15.86 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.5757, allocations: 0.5574 MB / 1.511 GB, free: 15.3 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.5758, allocations: 37.7 kB / 1.511 GB, free: 15.25 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.576, allocations: 339.8 kB / 1.512 GB, free: 14.92 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.958e-05/0.5761, allocations: 75.27 kB / 1.512 GB, free: 14.84 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.5763, allocations: 73.97 kB / 1.512 GB, free: 14.77 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5764, allocations: 358.7 kB / 1.512 GB, free: 14.41 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.5767, allocations: 132.6 kB / 1.512 GB, free: 14.28 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.577, allocations: 222.5 kB / 1.512 GB, free: 14.03 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/0.5776, allocations: 328.9 kB / 1.513 GB, free: 13.68 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.5776, allocations: 15.94 kB / 1.513 GB, free: 13.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000975/0.5786, allocations: 0.4908 MB / 1.513 GB, free: 13.16 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5786, allocations: 4.281 kB / 1.513 GB, free: 13.15 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5786, allocations: 8 kB / 1.513 GB, free: 13.14 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.5789, allocations: 93.66 kB / 1.513 GB, free: 13.05 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.5792, allocations: 67.89 kB / 1.513 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/0.5827, allocations: 3.348 MB / 1.517 GB, free: 9.352 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.5832, allocations: 55.67 kB / 1.517 GB, free: 9.297 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.5832, allocations: 12 kB / 1.517 GB, free: 9.285 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003374/0.5835, allocations: 209.7 kB / 1.517 GB, free: 9.07 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.5837, allocations: 59.67 kB / 1.517 GB, free: 9.012 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.5838, allocations: 56.5 kB / 1.517 GB, free: 8.953 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5838, allocations: 4 kB / 1.517 GB, free: 8.949 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5838, allocations: 3.938 kB / 1.517 GB, free: 8.945 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007927/0.5846, allocations: 0.5345 MB / 1.517 GB, free: 8.34 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.586, allocations: 0.908 MB / 1.518 GB, free: 7.367 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.586, allocations: 4.062 kB / 1.518 GB, free: 7.363 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.5862, allocations: 47.91 kB / 1.518 GB, free: 7.316 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.5864, allocations: 64.8 kB / 1.518 GB, free: 7.25 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.5864, allocations: 8 kB / 1.518 GB, free: 7.242 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.5883, allocations: 1.829 MB / 1.52 GB, free: 5.273 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/0.5883, allocations: 4.031 kB / 1.52 GB, free: 5.27 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006823/0.5889, allocations: 439.9 kB / 1.521 GB, free: 4.816 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.5892, allocations: 164.7 kB / 1.521 GB, free: 4.637 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/0.5893, allocations: 7.938 kB / 1.521 GB, free: 4.629 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.5897, allocations: 30.17 kB / 1.521 GB, free: 4.602 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.5898, allocations: 23.91 kB / 1.521 GB, free: 4.578 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-05/0.5899, allocations: 11.98 kB / 1.521 GB, free: 4.566 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004892/0.5903, allocations: 398.8 kB / 1.521 GB, free: 4.18 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5903, allocations: 0 / 1.521 GB, free: 4.18 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006609/0.591, allocations: 211.7 kB / 1.522 GB, free: 3.973 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/0.5922, allocations: 1.015 MB / 1.522 GB, free: 2.922 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009404/0.5931, allocations: 0.5167 MB / 1.523 GB, free: 2.379 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.5931, allocations: 4 kB / 1.523 GB, free: 2.375 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.5935, allocations: 238.5 kB / 1.523 GB, free: 2.129 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.5952, allocations: 379.9 kB / 1.524 GB, free: 1.773 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/0.6021, allocations: 4.467 MB / 1.528 GB, free: 13.14 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/0.6028, allocations: 0.9015 MB / 1.529 GB, free: 12.21 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005258/0.6034, allocations: 112.8 kB / 1.529 GB, free: 12.1 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.6037, allocations: 199.3 kB / 1.529 GB, free: 11.9 MB / 1.232 GB Notification: Performance of SimCode: time 1.412e-06/0.6037, allocations: 0 / 1.529 GB, free: 11.9 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0556/0.6593, allocations: 17.88 MB / 1.547 GB, free: 10.39 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.69, allocations: 23.84 kB / 1.547 GB, free: 10.36 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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: 19.17216510605067]