Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.00152/0.00152, allocations: 110 kB / 18.93 MB, free: 2.945 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.001558/0.001558, allocations: 189.1 kB / 22.22 MB, free: 5.164 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.312/1.312, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.862/2.862, allocations: 0.4893 GB / 0.7884 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 67.55 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2942, allocations: 174.9 MB / 1.316 GB, free: 9.699 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1999/0.4941, allocations: 171.9 MB / 1.484 GB, free: 13.17 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006544/0.5007, allocations: 4.342 MB / 1.488 GB, free: 8.816 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.5011, allocations: 31.75 kB / 1.488 GB, free: 8.785 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009644/0.5021, allocations: 365.9 kB / 1.488 GB, free: 8.426 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002685/0.5048, allocations: 1.287 MB / 1.49 GB, free: 7.133 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.5067, allocations: 0.828 MB / 1.491 GB, free: 6.309 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002067/0.5088, allocations: 1.73 MB / 1.492 GB, free: 4.57 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000624/0.5094, allocations: 448.2 kB / 1.493 GB, free: 4.129 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.5106, allocations: 0.7823 MB / 1.493 GB, free: 3.344 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.5117, allocations: 0.5857 MB / 1.494 GB, free: 2.758 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.781e-05/0.5118, allocations: 64 kB / 1.494 GB, free: 2.695 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.5133, allocations: 0.8613 MB / 1.495 GB, free: 1.832 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.5136, allocations: 283.1 kB / 1.495 GB, free: 1.555 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004271/0.514, allocations: 406.3 kB / 1.496 GB, free: 1.156 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.5156, allocations: 1.273 MB / 1.497 GB, free: 15.88 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5156, allocations: 0 / 1.497 GB, free: 15.88 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5156, allocations: 0 / 1.497 GB, free: 15.88 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.5157, allocations: 0 / 1.497 GB, free: 15.88 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.001733/0.5174, allocations: 0.9756 MB / 1.498 GB, free: 14.87 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.5174, allocations: 8.031 kB / 1.498 GB, free: 14.86 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009768/0.5184, allocations: 167.5 kB / 1.498 GB, free: 14.7 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008361/0.5192, allocations: 494.7 kB / 1.498 GB, free: 14.19 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.5193, allocations: 41.31 kB / 1.498 GB, free: 14.15 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.5194, allocations: 52 kB / 1.498 GB, free: 14.1 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.5204, allocations: 0.644 MB / 1.499 GB, free: 13.44 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.5205, allocations: 4 kB / 1.499 GB, free: 13.44 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.5205, allocations: 20 kB / 1.499 GB, free: 13.42 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/0.5206, allocations: 37.19 kB / 1.499 GB, free: 13.38 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009386/0.5215, allocations: 0.5048 MB / 1.5 GB, free: 12.87 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.003338/0.5248, allocations: 2.258 MB / 1.502 GB, free: 10.45 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.5253, allocations: 238.8 kB / 1.502 GB, free: 10.21 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.5256, allocations: 130.8 kB / 1.502 GB, free: 10.08 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.5256, allocations: 3.938 kB / 1.502 GB, free: 10.07 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.5256, allocations: 42.55 kB / 1.502 GB, free: 10.02 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.253e-06/0.5256, allocations: 0 / 1.502 GB, free: 10.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.001545/0.5272, allocations: 0.5107 MB / 1.503 GB, free: 9.5 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.5272, allocations: 85.11 kB / 1.503 GB, free: 9.398 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006563/0.5279, allocations: 0.5536 MB / 1.503 GB, free: 8.836 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.5279, allocations: 33.7 kB / 1.503 GB, free: 8.797 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.5282, allocations: 347.7 kB / 1.504 GB, free: 8.453 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-05/0.5283, allocations: 71.38 kB / 1.504 GB, free: 8.383 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.5284, allocations: 69.97 kB / 1.504 GB, free: 8.309 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.5286, allocations: 366.7 kB / 1.504 GB, free: 7.941 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.5288, allocations: 124.6 kB / 1.504 GB, free: 7.82 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.5291, allocations: 218.6 kB / 1.505 GB, free: 7.574 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.5297, allocations: 340.8 kB / 1.505 GB, free: 7.211 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5297, allocations: 0 / 1.505 GB, free: 7.211 MB / 1.201 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009417/0.5306, allocations: 0.4947 MB / 1.505 GB, free: 6.703 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5307, allocations: 8 kB / 1.505 GB, free: 6.695 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5307, allocations: 3.938 kB / 1.505 GB, free: 6.691 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003133/0.531, allocations: 97.88 kB / 1.505 GB, free: 6.59 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.5313, allocations: 75.89 kB / 1.506 GB, free: 6.516 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.5345, allocations: 3.135 MB / 1.509 GB, free: 3.156 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.5349, allocations: 47.61 kB / 1.509 GB, free: 3.109 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.5349, allocations: 20.06 kB / 1.509 GB, free: 3.09 MB / 1.201 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.0002672/0.5352, allocations: 213.7 kB / 1.509 GB, free: 2.871 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.5353, allocations: 59.67 kB / 1.509 GB, free: 2.812 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.394e-05/0.5354, allocations: 56.44 kB / 1.509 GB, free: 2.754 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5354, allocations: 0 / 1.509 GB, free: 2.754 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5354, allocations: 3.938 kB / 1.509 GB, free: 2.75 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000764/0.5362, allocations: 0.5363 MB / 1.51 GB, free: 2.145 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.5375, allocations: 0.8837 MB / 1.51 GB, free: 1.203 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5375, allocations: 0 / 1.51 GB, free: 1.203 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.5377, allocations: 51.97 kB / 1.51 GB, free: 1.152 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.5379, allocations: 60.81 kB / 1.51 GB, free: 1.09 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.5379, allocations: 11.98 kB / 1.51 GB, free: 1.078 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.5396, allocations: 1.714 MB / 1.512 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5396, allocations: 0 / 1.512 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.5403, allocations: 433.7 kB / 1.513 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.5405, allocations: 95.55 kB / 1.513 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.5406, allocations: 11.88 kB / 1.513 GB, free: 14.7 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.541, allocations: 25.19 kB / 1.513 GB, free: 14.67 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.5411, allocations: 23.97 kB / 1.513 GB, free: 14.65 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.5411, allocations: 15.98 kB / 1.513 GB, free: 14.63 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004611/0.5416, allocations: 398.8 kB / 1.513 GB, free: 14.25 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5416, allocations: 0 / 1.513 GB, free: 14.25 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005914/0.5422, allocations: 203.7 kB / 1.513 GB, free: 14.05 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.0003536/0.5425, allocations: 158.7 kB / 1.513 GB, free: 13.89 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000891/0.5434, allocations: 0.5261 MB / 1.514 GB, free: 13.34 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5434, allocations: 7.938 kB / 1.514 GB, free: 13.33 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.5438, allocations: 259 kB / 1.514 GB, free: 13.06 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.5452, allocations: 361.2 kB / 1.515 GB, free: 12.72 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.5468, allocations: 1.013 MB / 1.516 GB, free: 11.67 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.5473, allocations: 0.9015 MB / 1.516 GB, free: 10.74 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003419/0.5477, allocations: 116.8 kB / 1.517 GB, free: 10.63 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/0.5477, allocations: 39.44 kB / 1.517 GB, free: 10.59 MB / 1.217 GB Notification: Performance of SimCode: time 4.6e-07/0.5477, allocations: 0 / 1.517 GB, free: 10.59 MB / 1.217 GB Notification: Performance of Templates: time 0.02167/0.5694, allocations: 13.43 MB / 1.53 GB, free: 13.36 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.441027636639774]