Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008417/0.0008417, 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.0007926/0.0007926, allocations: 169.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.8411/0.8411, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.617/1.617, 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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.692e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5737/0.5737, allocations: 150.9 MB / 1.098 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004072/0.5778, allocations: 4.04 MB / 1.102 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003794/0.5782, allocations: 27.28 kB / 1.102 GB, free: 37.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008371/0.579, allocations: 337.7 kB / 1.102 GB, free: 36.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.5811, allocations: 1.314 MB / 1.103 GB, free: 36.42 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.5826, allocations: 0.8367 MB / 1.104 GB, free: 36.07 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002021/0.5846, allocations: 1.756 MB / 1.106 GB, free: 35.31 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000643/0.5853, allocations: 437.6 kB / 1.106 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.5865, allocations: 0.9359 MB / 1.107 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.5876, allocations: 0.5235 MB / 1.108 GB, free: 34.66 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.16e-05/0.5877, allocations: 64.72 kB / 1.108 GB, free: 34.66 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.5888, allocations: 0.6822 MB / 1.108 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.589, allocations: 300 kB / 1.109 GB, free: 34.37 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.5893, allocations: 290.4 kB / 1.109 GB, free: 34.27 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.5908, allocations: 1.292 MB / 1.11 GB, free: 33.9 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5908, allocations: 4 kB / 1.11 GB, free: 33.89 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5908, allocations: 0 / 1.11 GB, free: 33.89 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.5908, allocations: 0 / 1.11 GB, free: 33.89 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.001404/0.5922, allocations: 0.9744 MB / 1.111 GB, free: 33.25 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5923, allocations: 9.828 kB / 1.111 GB, free: 33.25 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.5e-05/0.5924, allocations: 100.9 kB / 1.111 GB, free: 33.18 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005648/0.5929, allocations: 164.9 kB / 1.112 GB, free: 33.13 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005855/0.5935, allocations: 493.1 kB / 1.112 GB, free: 32.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.5935, allocations: 42.72 kB / 1.112 GB, free: 32.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.5936, allocations: 53.5 kB / 1.112 GB, free: 32.78 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.5944, allocations: 1.002 MB / 1.113 GB, free: 32.07 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5944, allocations: 1.062 kB / 1.113 GB, free: 32.07 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.5945, allocations: 22.53 kB / 1.113 GB, free: 32.05 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.5945, allocations: 22.17 kB / 1.113 GB, free: 32.05 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.5952, allocations: 0.5101 MB / 1.114 GB, free: 31.89 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.002002/0.5972, allocations: 1.667 MB / 1.115 GB, free: 31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.5976, allocations: 243 kB / 1.115 GB, free: 30.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.5977, allocations: 130.5 kB / 1.116 GB, free: 30.85 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.5977, allocations: 3.172 kB / 1.116 GB, free: 30.85 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.5977, allocations: 38.75 kB / 1.116 GB, free: 30.81 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 1.694e-06/0.5977, allocations: 0 / 1.116 GB, free: 30.81 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.001001/0.5987, allocations: 0.5239 MB / 1.116 GB, free: 30.61 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.5988, allocations: 80.05 kB / 1.116 GB, free: 30.52 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.5992, allocations: 0.5637 MB / 1.117 GB, free: 30.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.5993, allocations: 32.67 kB / 1.117 GB, free: 30.22 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.5994, allocations: 340.5 kB / 1.117 GB, free: 29.95 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.6e-05/0.5995, allocations: 71.06 kB / 1.117 GB, free: 29.89 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.5995, allocations: 70.55 kB / 1.117 GB, free: 29.85 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.5996, allocations: 359 kB / 1.118 GB, free: 29.52 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.5998, allocations: 129.4 kB / 1.118 GB, free: 29.48 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.6, allocations: 249.9 kB / 1.118 GB, free: 29.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.6003, allocations: 329.4 kB / 1.118 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6003, allocations: 5.406 kB / 1.118 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005669/0.6009, allocations: 499 kB / 1.119 GB, free: 28.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6009, allocations: 6.25 kB / 1.119 GB, free: 28.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6009, allocations: 11.45 kB / 1.119 GB, free: 28.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/0.6011, allocations: 89.95 kB / 1.119 GB, free: 28.87 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.6013, allocations: 72.27 kB / 1.119 GB, free: 28.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.6031, allocations: 3.126 MB / 1.122 GB, free: 26.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.6033, allocations: 52.8 kB / 1.122 GB, free: 26.06 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.6034, allocations: 10.33 kB / 1.122 GB, free: 26.06 MB / 0.9948 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.0001695/0.6035, allocations: 223.2 kB / 1.122 GB, free: 25.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.6036, allocations: 56.77 kB / 1.122 GB, free: 25.86 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.6037, allocations: 57.81 kB / 1.122 GB, free: 25.83 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.6037, allocations: 6.469 kB / 1.122 GB, free: 25.83 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.6037, allocations: 0 / 1.122 GB, free: 25.83 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004125/0.6041, allocations: 0.5325 MB / 1.123 GB, free: 25.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008185/0.6049, allocations: 0.8204 MB / 1.124 GB, free: 24.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6049, allocations: 0 / 1.124 GB, free: 24.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.605, allocations: 43 kB / 1.124 GB, free: 24.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.6051, allocations: 68.44 kB / 1.124 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.6051, allocations: 5.609 kB / 1.124 GB, free: 24.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009266/0.6061, allocations: 1.7 MB / 1.125 GB, free: 23.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6061, allocations: 6.453 kB / 1.125 GB, free: 23.45 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.6065, allocations: 438.4 kB / 1.126 GB, free: 23.18 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.6066, allocations: 93.03 kB / 1.126 GB, free: 23.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.6066, allocations: 6.562 kB / 1.126 GB, free: 23.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.6068, allocations: 24.55 kB / 1.126 GB, free: 23.12 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.6069, allocations: 31.56 kB / 1.126 GB, free: 23.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.6069, allocations: 16.7 kB / 1.126 GB, free: 23.11 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003207/0.6073, allocations: 396.9 kB / 1.126 GB, free: 22.93 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6073, allocations: 0 / 1.126 GB, free: 22.93 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005503/0.6078, allocations: 205.2 kB / 1.127 GB, free: 22.9 MB / 0.9948 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.0007305/0.6085, allocations: 1.006 MB / 1.128 GB, free: 22.11 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006151/0.6091, allocations: 0.5206 MB / 1.128 GB, free: 21.79 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6092, allocations: 2.938 kB / 1.128 GB, free: 21.79 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.6094, allocations: 247.4 kB / 1.128 GB, free: 21.63 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.6104, allocations: 381.3 kB / 1.129 GB, free: 21.52 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.6147, allocations: 4.46 MB / 1.133 GB, free: 18.98 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.615, allocations: 309.3 kB / 1.133 GB, free: 18.87 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003333/0.6153, allocations: 113.6 kB / 1.133 GB, free: 18.84 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.6155, allocations: 192.3 kB / 1.134 GB, free: 18.7 MB / 0.9948 GB Notification: Performance of SimCode: time 6.92e-07/0.6155, allocations: 0 / 1.134 GB, free: 18.7 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.6515, allocations: 19.57 MB / 1.153 GB, free: 16.25 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.354/10.01, allocations: 17.25 kB / 1.153 GB, free: 16.24 MB / 0.9948 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.755109914578497]