Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009354/0.0009358, allocations: 90.83 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005137/0.005137, allocations: 172.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.093/2.093, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003222, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5281/0.5284, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1613/0.6897, allocations: 166.6 MB / 1.118 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006049/0.6958, allocations: 4.314 MB / 1.122 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006282/0.6965, allocations: 19.88 kB / 1.122 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008786/0.6974, allocations: 306.5 kB / 1.122 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.7, allocations: 1.152 MB / 1.124 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.7017, allocations: 0.7146 MB / 1.124 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002407/0.7041, allocations: 2.361 MB / 1.127 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007208/0.7048, allocations: 473.6 kB / 1.127 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.7059, allocations: 0.5796 MB / 1.128 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.7069, allocations: 0.5519 MB / 1.128 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.707, allocations: 24 kB / 1.128 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.7084, allocations: 0.9118 MB / 1.129 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.7086, allocations: 231.3 kB / 1.129 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.709, allocations: 380 kB / 1.13 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.7103, allocations: 1.269 MB / 1.131 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7103, allocations: 4 kB / 1.131 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7103, allocations: 0 / 1.131 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.7103, allocations: 0 / 1.131 GB, free: 10.83 MB / 0.8887 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.001483/0.7118, allocations: 0.9001 MB / 1.132 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.7118, allocations: 8.031 kB / 1.132 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.712, allocations: 102.5 kB / 1.132 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000981/0.713, allocations: 167 kB / 1.132 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007045/0.7137, allocations: 0.521 MB / 1.132 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.7137, allocations: 41.31 kB / 1.132 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.7138, allocations: 48 kB / 1.133 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.7149, allocations: 0.6596 MB / 1.133 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.7149, allocations: 4 kB / 1.133 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/0.7149, allocations: 20 kB / 1.133 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.715, allocations: 21.31 kB / 1.133 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009163/0.7159, allocations: 0.5204 MB / 1.134 GB, free: 7.707 MB / 0.8887 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.00293/0.7188, allocations: 2.316 MB / 1.136 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.7194, allocations: 266.7 kB / 1.136 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.7196, allocations: 136.8 kB / 1.136 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.7196, allocations: 0 / 1.136 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.7197, allocations: 42.56 kB / 1.136 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=20): time 1.002e-06/0.7197, allocations: 0 / 1.136 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20): time 0.001601/0.7213, allocations: 0.6876 MB / 1.137 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.7213, allocations: 77.11 kB / 1.137 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005965/0.7219, allocations: 0.5613 MB / 1.138 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.722, allocations: 29.7 kB / 1.138 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.7222, allocations: 335.1 kB / 1.138 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.7223, allocations: 74.94 kB / 1.138 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.7223, allocations: 33.7 kB / 1.138 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7225, allocations: 362.7 kB / 1.139 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.7227, allocations: 136.6 kB / 1.139 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.723, allocations: 230.6 kB / 1.139 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.7236, allocations: 340.9 kB / 1.139 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.7236, allocations: 4 kB / 1.139 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009008/0.7245, allocations: 0.4986 MB / 1.14 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.7245, allocations: 9.859 kB / 1.14 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.7245, allocations: 8 kB / 1.14 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.7248, allocations: 89.69 kB / 1.14 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.7252, allocations: 75.91 kB / 1.14 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.7278, allocations: 3.095 MB / 1.143 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.7284, allocations: 79.56 kB / 1.143 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.7284, allocations: 8 kB / 1.143 GB, free: 13.62 MB / 0.9044 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.0002499/0.7287, allocations: 221.7 kB / 1.143 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.056e-05/0.7288, allocations: 59.34 kB / 1.143 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.536e-05/0.7289, allocations: 56.5 kB / 1.143 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.7289, allocations: 4 kB / 1.143 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.7289, allocations: 0 / 1.143 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007179/0.7296, allocations: 0.5422 MB / 1.144 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.7308, allocations: 0.926 MB / 1.145 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.7308, allocations: 0 / 1.145 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.7311, allocations: 47.91 kB / 1.145 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/0.7313, allocations: 72.81 kB / 1.145 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.7313, allocations: 0 / 1.145 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.7328, allocations: 1.679 MB / 1.146 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7328, allocations: 192 / 1.146 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006206/0.7334, allocations: 457.3 kB / 1.147 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.7337, allocations: 176.3 kB / 1.147 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.7337, allocations: 4 kB / 1.147 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.7342, allocations: 35.97 kB / 1.147 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.7343, allocations: 19.97 kB / 1.147 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.7343, allocations: 16 kB / 1.147 GB, free: 9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004196/0.7348, allocations: 394.8 kB / 1.148 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7348, allocations: 0 / 1.148 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006295/0.7354, allocations: 211.6 kB / 1.148 GB, free: 8.41 MB / 0.9044 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.001155/0.7366, allocations: 1.043 MB / 1.149 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008529/0.7374, allocations: 0.5457 MB / 1.149 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7374, allocations: 0 / 1.149 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.7378, allocations: 273.1 kB / 1.15 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.7396, allocations: 352.4 kB / 1.15 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006145/0.7458, allocations: 4.797 MB / 1.155 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.7462, allocations: 0.9092 MB / 1.155 GB, free: 264 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004594/0.7467, allocations: 116.8 kB / 1.156 GB, free: 148 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.747, allocations: 195.5 kB / 1.156 GB, free: 15.95 MB / 0.92 GB Notification: Performance of SimCode: time 5.01e-07/0.747, allocations: 3.938 kB / 1.156 GB, free: 15.95 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.219/1.966, allocations: 16.68 MB / 1.172 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/1.966, allocations: 292.3 kB / 1.172 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/4.573, allocations: 1.75 kB / 1.172 GB, free: 15.26 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches