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.0007717/0.0007717, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008746/0.0008746, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8642/0.8642, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.655/1.655, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.232e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5219/0.5219, allocations: 150.9 MB / 1.128 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004519/0.5264, allocations: 4.04 MB / 1.132 GB, free: 8.363 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006765/0.5271, allocations: 30.09 kB / 1.132 GB, free: 8.348 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008472/0.5279, allocations: 335 kB / 1.133 GB, free: 8.176 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.5305, allocations: 1.325 MB / 1.134 GB, free: 7.434 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.5321, allocations: 0.837 MB / 1.135 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.5339, allocations: 1.747 MB / 1.136 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.5344, allocations: 443.7 kB / 1.137 GB, free: 5.961 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.5356, allocations: 0.9857 MB / 1.138 GB, free: 5.527 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009399/0.5365, allocations: 0.5177 MB / 1.138 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-05/0.5366, allocations: 64.56 kB / 1.138 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.5379, allocations: 0.6801 MB / 1.139 GB, free: 5.117 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.5381, allocations: 296.9 kB / 1.139 GB, free: 4.977 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003027/0.5384, allocations: 292.8 kB / 1.14 GB, free: 4.863 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.5402, allocations: 1.297 MB / 1.141 GB, free: 4.418 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5402, allocations: 0.8438 kB / 1.141 GB, free: 4.418 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5402, allocations: 0 / 1.141 GB, free: 4.418 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.5402, allocations: 0.6875 kB / 1.141 GB, free: 4.418 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001297/0.5415, allocations: 0.9717 MB / 1.142 GB, free: 3.77 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5415, allocations: 9.719 kB / 1.142 GB, free: 3.77 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.19e-05/0.5416, allocations: 104.1 kB / 1.142 GB, free: 3.691 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005813/0.5422, allocations: 168.2 kB / 1.142 GB, free: 3.641 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.5428, allocations: 487.1 kB / 1.143 GB, free: 3.336 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.5428, allocations: 39.38 kB / 1.143 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.5429, allocations: 53.56 kB / 1.143 GB, free: 3.301 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008246/0.5437, allocations: 1.007 MB / 1.144 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5437, allocations: 1.188 kB / 1.144 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.5437, allocations: 26.05 kB / 1.144 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.5438, allocations: 22.25 kB / 1.144 GB, free: 2.566 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006466/0.5444, allocations: 0.5102 MB / 1.144 GB, free: 2.402 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.002073/0.5465, allocations: 1.666 MB / 1.146 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.5469, allocations: 238 kB / 1.146 GB, free: 1.391 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.547, allocations: 125.4 kB / 1.146 GB, free: 1.344 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.547, allocations: 3.828 kB / 1.146 GB, free: 1.344 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.5471, allocations: 42.77 kB / 1.146 GB, free: 1.297 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 2.425e-06/0.5471, allocations: 4 kB / 1.146 GB, free: 1.293 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.001002/0.5481, allocations: 0.5154 MB / 1.147 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.5481, allocations: 81.06 kB / 1.147 GB, free: 1.008 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.5486, allocations: 0.5672 MB / 1.147 GB, free: 0.7422 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.5486, allocations: 37.05 kB / 1.147 GB, free: 0.7031 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.5487, allocations: 337 kB / 1.148 GB, free: 444 kB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.5488, allocations: 74.5 kB / 1.148 GB, free: 384 kB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.5489, allocations: 70.52 kB / 1.148 GB, free: 340 kB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.757e-05/0.5489, allocations: 357.7 kB / 1.148 GB, free: 0 / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.5491, allocations: 130.3 kB / 1.148 GB, free: 15.96 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.5493, allocations: 241.8 kB / 1.148 GB, free: 15.79 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.5497, allocations: 337 kB / 1.149 GB, free: 15.6 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5497, allocations: 0 / 1.149 GB, free: 15.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006296/0.5504, allocations: 0.4917 MB / 1.149 GB, free: 15.38 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5504, allocations: 6.844 kB / 1.149 GB, free: 15.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5504, allocations: 3.5 kB / 1.149 GB, free: 15.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/0.5506, allocations: 95.23 kB / 1.149 GB, free: 15.35 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.5508, allocations: 70.41 kB / 1.149 GB, free: 15.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.5529, allocations: 3.115 MB / 1.153 GB, free: 12.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.5533, allocations: 57.23 kB / 1.153 GB, free: 12.55 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.5533, allocations: 11.39 kB / 1.153 GB, free: 12.55 MB / 1.01 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.000244/0.5535, allocations: 222.7 kB / 1.153 GB, free: 12.38 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/0.5536, allocations: 60.27 kB / 1.153 GB, free: 12.35 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.5537, allocations: 57.62 kB / 1.153 GB, free: 12.32 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5537, allocations: 6.469 kB / 1.153 GB, free: 12.31 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5537, allocations: 0 / 1.153 GB, free: 12.31 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005799/0.5542, allocations: 0.5285 MB / 1.153 GB, free: 11.89 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009083/0.5552, allocations: 0.8234 MB / 1.154 GB, free: 11.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5552, allocations: 4.109 kB / 1.154 GB, free: 11.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.5553, allocations: 47.03 kB / 1.154 GB, free: 11.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/0.5554, allocations: 64.05 kB / 1.154 GB, free: 11.38 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.5554, allocations: 5.125 kB / 1.154 GB, free: 11.37 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.5565, allocations: 1.71 MB / 1.156 GB, free: 9.926 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5565, allocations: 7.375 kB / 1.156 GB, free: 9.922 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.557, allocations: 436.9 kB / 1.156 GB, free: 9.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.5571, allocations: 92.22 kB / 1.157 GB, free: 9.613 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.5572, allocations: 5.125 kB / 1.157 GB, free: 9.609 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.5574, allocations: 19.28 kB / 1.157 GB, free: 9.605 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.5574, allocations: 23.64 kB / 1.157 GB, free: 9.598 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.5575, allocations: 16.31 kB / 1.157 GB, free: 9.594 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000378/0.5578, allocations: 401.2 kB / 1.157 GB, free: 9.414 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.5578, allocations: 1.188 kB / 1.157 GB, free: 9.414 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005535/0.5584, allocations: 208.6 kB / 1.157 GB, free: 9.379 MB / 1.01 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.0007791/0.5592, allocations: 1.013 MB / 1.158 GB, free: 8.578 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006551/0.5598, allocations: 0.5288 MB / 1.159 GB, free: 8.246 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5598, allocations: 1.094 kB / 1.159 GB, free: 8.246 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004839/0.5603, allocations: 243.2 kB / 1.159 GB, free: 8.094 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000984/0.5613, allocations: 383.1 kB / 1.159 GB, free: 7.988 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.566, allocations: 4.452 MB / 1.164 GB, free: 5.461 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.5663, allocations: 320.1 kB / 1.164 GB, free: 5.336 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003956/0.5667, allocations: 109.5 kB / 1.164 GB, free: 5.309 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.5669, allocations: 195.9 kB / 1.164 GB, free: 5.164 MB / 1.01 GB Notification: Performance of SimCode: time 8.02e-07/0.5669, allocations: 1.094 kB / 1.164 GB, free: 5.164 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.6026, allocations: 19.58 MB / 1.183 GB, free: 180 kB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/8.199, allocations: 13.72 kB / 1.183 GB, free: 172 kB / 1.01 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.ports[1].m_flow in file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.143533882685006]