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.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.0007287/0.0007287, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007353/0.0007353, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8349/0.8349, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.684/1.684, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.795e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5216/0.5216, allocations: 150.9 MB / 1.147 GB, free: 5.387 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004786/0.5264, allocations: 4.036 MB / 1.151 GB, free: 2.672 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005487/0.5269, allocations: 30.44 kB / 1.151 GB, free: 2.656 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008186/0.5277, allocations: 338.8 kB / 1.151 GB, free: 2.48 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.5302, allocations: 1.321 MB / 1.153 GB, free: 1.742 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.5318, allocations: 0.838 MB / 1.153 GB, free: 1.297 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.5337, allocations: 1.746 MB / 1.155 GB, free: 484 kB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006262/0.5343, allocations: 444.5 kB / 1.156 GB, free: 276 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.5358, allocations: 0.9901 MB / 1.156 GB, free: 15.83 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.5368, allocations: 0.5272 MB / 1.157 GB, free: 15.66 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 9.345e-05/0.5369, allocations: 64.06 kB / 1.157 GB, free: 15.66 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.5381, allocations: 0.6676 MB / 1.158 GB, free: 15.43 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.5383, allocations: 301.1 kB / 1.158 GB, free: 15.29 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.5386, allocations: 293.7 kB / 1.158 GB, free: 15.17 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.5401, allocations: 1.293 MB / 1.16 GB, free: 14.73 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5401, allocations: 0.6094 kB / 1.16 GB, free: 14.73 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5401, allocations: 1.594 kB / 1.16 GB, free: 14.73 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.5401, allocations: 0 / 1.16 GB, free: 14.73 MB / 1.026 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.001419/0.5416, allocations: 0.9806 MB / 1.161 GB, free: 14.08 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.5416, allocations: 9.969 kB / 1.161 GB, free: 14.08 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.785e-05/0.5417, allocations: 105.4 kB / 1.161 GB, free: 14 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006535/0.5424, allocations: 159.9 kB / 1.161 GB, free: 13.96 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007239/0.5431, allocations: 490.8 kB / 1.161 GB, free: 13.64 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.5431, allocations: 42.89 kB / 1.161 GB, free: 13.62 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/0.5432, allocations: 54.25 kB / 1.161 GB, free: 13.6 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009227/0.5441, allocations: 1.004 MB / 1.162 GB, free: 12.89 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5441, allocations: 0 / 1.162 GB, free: 12.89 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.5441, allocations: 30 kB / 1.162 GB, free: 12.87 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.5442, allocations: 26.2 kB / 1.162 GB, free: 12.87 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/0.5448, allocations: 0.5024 MB / 1.163 GB, free: 12.71 MB / 1.026 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.002085/0.5469, allocations: 1.665 MB / 1.164 GB, free: 11.79 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.5472, allocations: 242.2 kB / 1.165 GB, free: 11.69 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.5474, allocations: 129.4 kB / 1.165 GB, free: 11.64 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.5474, allocations: 2.875 kB / 1.165 GB, free: 11.64 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.5474, allocations: 38.92 kB / 1.165 GB, free: 11.6 MB / 1.026 GB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.5474, allocations: 5.344 kB / 1.165 GB, free: 11.6 MB / 1.026 GB Notification: Performance of matching and sorting (n=20): time 0.0009966/0.5484, allocations: 0.5204 MB / 1.165 GB, free: 11.4 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.5485, allocations: 84.53 kB / 1.165 GB, free: 11.3 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.549, allocations: 0.5641 MB / 1.166 GB, free: 11.05 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.549, allocations: 36.42 kB / 1.166 GB, free: 11.01 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.5492, allocations: 341 kB / 1.166 GB, free: 10.73 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.5492, allocations: 70.38 kB / 1.166 GB, free: 10.68 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.5493, allocations: 69.16 kB / 1.167 GB, free: 10.64 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5494, allocations: 359.2 kB / 1.167 GB, free: 10.3 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.5496, allocations: 131.3 kB / 1.167 GB, free: 10.27 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.5498, allocations: 244.7 kB / 1.167 GB, free: 10.09 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.5501, allocations: 331.9 kB / 1.168 GB, free: 9.906 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5501, allocations: 1.719 kB / 1.168 GB, free: 9.906 MB / 1.026 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005975/0.5507, allocations: 0.495 MB / 1.168 GB, free: 9.688 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5508, allocations: 7.031 kB / 1.168 GB, free: 9.688 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.5508, allocations: 2.594 kB / 1.168 GB, free: 9.688 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/0.551, allocations: 94.31 kB / 1.168 GB, free: 9.652 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.5512, allocations: 72.55 kB / 1.168 GB, free: 9.645 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.5532, allocations: 3.122 MB / 1.171 GB, free: 6.883 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.5535, allocations: 49.41 kB / 1.171 GB, free: 6.852 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.5535, allocations: 18.16 kB / 1.171 GB, free: 6.844 MB / 1.026 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.0002505/0.5538, allocations: 220.4 kB / 1.172 GB, free: 6.676 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.5538, allocations: 55.92 kB / 1.172 GB, free: 6.648 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.5539, allocations: 57.14 kB / 1.172 GB, free: 6.613 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.5539, allocations: 10.69 kB / 1.172 GB, free: 6.605 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.5539, allocations: 0 / 1.172 GB, free: 6.605 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004541/0.5544, allocations: 0.5333 MB / 1.172 GB, free: 6.172 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.5553, allocations: 0.8179 MB / 1.173 GB, free: 5.688 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5553, allocations: 0.7969 kB / 1.173 GB, free: 5.688 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.5554, allocations: 47.28 kB / 1.173 GB, free: 5.68 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.5555, allocations: 63.67 kB / 1.173 GB, free: 5.66 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.5555, allocations: 6.562 kB / 1.173 GB, free: 5.656 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.5567, allocations: 1.708 MB / 1.175 GB, free: 4.215 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.5567, allocations: 5.188 kB / 1.175 GB, free: 4.211 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.5571, allocations: 435.8 kB / 1.175 GB, free: 3.949 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.5573, allocations: 95.66 kB / 1.175 GB, free: 3.898 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.5573, allocations: 2.797 kB / 1.175 GB, free: 3.898 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.5575, allocations: 19.86 kB / 1.175 GB, free: 3.895 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.5576, allocations: 24.36 kB / 1.175 GB, free: 3.887 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.5576, allocations: 20.41 kB / 1.175 GB, free: 3.879 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.000371/0.558, allocations: 396.6 kB / 1.176 GB, free: 3.703 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.558, allocations: 0 / 1.176 GB, free: 3.703 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0005158/0.5585, allocations: 209.8 kB / 1.176 GB, free: 3.668 MB / 1.026 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.000737/0.5593, allocations: 1.007 MB / 1.177 GB, free: 2.871 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0006056/0.5599, allocations: 0.5177 MB / 1.177 GB, free: 2.551 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5599, allocations: 1.312 kB / 1.177 GB, free: 2.551 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.5601, allocations: 247.2 kB / 1.178 GB, free: 2.395 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009944/0.5611, allocations: 386.1 kB / 1.178 GB, free: 2.293 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.5657, allocations: 4.456 MB / 1.182 GB, free: 15.77 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.566, allocations: 307.7 kB / 1.183 GB, free: 15.65 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0004275/0.5664, allocations: 114.2 kB / 1.183 GB, free: 15.62 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.5666, allocations: 195.5 kB / 1.183 GB, free: 15.48 MB / 1.042 GB Notification: Performance of SimCode: time 1.202e-06/0.5666, allocations: 4 kB / 1.183 GB, free: 15.47 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.6026, allocations: 19.56 MB / 1.202 GB, free: 8.289 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.987, allocations: 0 / 1.202 GB, free: 8.289 MB / 1.042 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 840.0] 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: 11.893151877447963]