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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.601/2.601, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 66.8 kB / 0.9086 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.239, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1675/0.4065, allocations: 171.1 MB / 1.231 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005819/0.4124, allocations: 4.304 MB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.4128, allocations: 23.88 kB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008168/0.4136, allocations: 353.9 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.4159, allocations: 1.221 MB / 1.237 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.4175, allocations: 0.7852 MB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001683/0.4192, allocations: 1.699 MB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00065/0.4198, allocations: 0.5582 MB / 1.24 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008936/0.4207, allocations: 0.6771 MB / 1.241 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009934/0.4217, allocations: 0.5493 MB / 1.241 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.4218, allocations: 64 kB / 1.241 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.4232, allocations: 0.799 MB / 1.242 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.4234, allocations: 275.3 kB / 1.242 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000399/0.4238, allocations: 414.2 kB / 1.243 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.4252, allocations: 1.25 MB / 1.244 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4252, allocations: 0 / 1.244 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4253, allocations: 0 / 1.244 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.4253, allocations: 4 kB / 1.244 GB, free: 5.512 MB / 0.9981 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.001628/0.4269, allocations: 1.044 MB / 1.245 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.4269, allocations: 8.031 kB / 1.245 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.4271, allocations: 98.52 kB / 1.245 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009139/0.428, allocations: 163 kB / 1.245 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006998/0.4287, allocations: 0.521 MB / 1.246 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.4287, allocations: 41.31 kB / 1.246 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.4288, allocations: 52 kB / 1.246 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.4298, allocations: 0.6518 MB / 1.246 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4299, allocations: 0 / 1.246 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.375e-05/0.4299, allocations: 31.98 kB / 1.246 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.43, allocations: 21.31 kB / 1.246 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008856/0.4309, allocations: 0.5164 MB / 1.247 GB, free: 2.254 MB / 0.9981 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.4159/0.8468, allocations: 2.303 MB / 1.249 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.8474, allocations: 249.5 kB / 1.249 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.8476, allocations: 136.8 kB / 1.249 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.8477, allocations: 11.14 kB / 1.249 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.8477, allocations: 38.22 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.165e-06/0.8477, allocations: 1.906 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001556/0.8493, allocations: 0.6722 MB / 1.25 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.8493, allocations: 84.59 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006155/0.8499, allocations: 0.5564 MB / 1.251 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.85, allocations: 32 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.8502, allocations: 335.7 kB / 1.251 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.8502, allocations: 73.69 kB / 1.251 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.8503, allocations: 73.75 kB / 1.251 GB, free: 188 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.8504, allocations: 358.6 kB / 1.252 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.8507, allocations: 133.2 kB / 1.252 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.8509, allocations: 217 kB / 1.252 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.8514, allocations: 339.3 kB / 1.252 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8514, allocations: 0 / 1.252 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008172/0.8522, allocations: 0.4918 MB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.8523, allocations: 6.062 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.8523, allocations: 3.359 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/0.8526, allocations: 97.53 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.8529, allocations: 71.69 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.8551, allocations: 3.344 MB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.8555, allocations: 47.19 kB / 1.256 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.8555, allocations: 13.2 kB / 1.256 GB, free: 184.7 MB / 0.9981 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.0002141/0.8558, allocations: 218.7 kB / 1.256 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/0.8559, allocations: 55.72 kB / 1.257 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.926e-05/0.8559, allocations: 59.05 kB / 1.257 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.856, allocations: 4.344 kB / 1.257 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.856, allocations: 0.7188 kB / 1.257 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005836/0.8565, allocations: 0.533 MB / 1.257 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.8576, allocations: 0.9151 MB / 1.258 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.8576, allocations: 4.125 kB / 1.258 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.8578, allocations: 45.77 kB / 1.258 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/0.858, allocations: 68.59 kB / 1.258 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.858, allocations: 6.422 kB / 1.258 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.8591, allocations: 1.824 MB / 1.26 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8592, allocations: 0 / 1.26 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.8596, allocations: 441.4 kB / 1.26 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.8598, allocations: 165 kB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/0.8599, allocations: 2.531 kB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.8603, allocations: 31.5 kB / 1.261 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.8603, allocations: 14.11 kB / 1.261 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.8604, allocations: 22.94 kB / 1.261 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003277/0.8607, allocations: 396.4 kB / 1.261 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8607, allocations: 0 / 1.261 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005114/0.8612, allocations: 207.3 kB / 1.261 GB, free: 182.1 MB / 0.9981 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.0008368/0.8621, allocations: 1.037 MB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006949/0.8628, allocations: 0.5415 MB / 1.263 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8628, allocations: 3.938 kB / 1.263 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.8631, allocations: 250.4 kB / 1.263 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.8645, allocations: 377.9 kB / 1.263 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.8689, allocations: 4.541 MB / 1.268 GB, free: 179 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.8693, allocations: 0.9091 MB / 1.269 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003724/0.8696, allocations: 109.5 kB / 1.269 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.8698, allocations: 188.8 kB / 1.269 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.8698, allocations: 0 / 1.269 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.001/1.871, allocations: 17.63 MB / 1.286 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/18.83, allocations: 27.2 kB / 1.286 GB, free: 173.4 MB / 0.9981 GB (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 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches