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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001466/0.001466, allocations: 108 kB / 15.6 MB, free: 132 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.001664/0.001663, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.2 MB / 0.6647 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5915/0.5928, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1931/0.786, allocations: 171.1 MB / 1.117 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008849/0.7949, allocations: 4.293 MB / 1.121 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008325/0.7957, allocations: 23.81 kB / 1.121 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.7971, allocations: 349.9 kB / 1.121 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.8007, allocations: 1.229 MB / 1.123 GB, free: 184 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.8032, allocations: 0.7883 MB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002539/0.8057, allocations: 1.684 MB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.8068, allocations: 0.5581 MB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.8082, allocations: 0.6849 MB / 1.126 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.8098, allocations: 0.5426 MB / 1.127 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.81, allocations: 64 kB / 1.127 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.8114, allocations: 0.7951 MB / 1.128 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003202/0.8117, allocations: 271.3 kB / 1.128 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004939/0.8122, allocations: 406.3 kB / 1.128 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.8137, allocations: 1.254 MB / 1.129 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8137, allocations: 0 / 1.129 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8137, allocations: 0 / 1.129 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.009e-05/0.8137, allocations: 4 kB / 1.129 GB, free: 9.129 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.001806/0.8155, allocations: 1.044 MB / 1.13 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.8156, allocations: 8.031 kB / 1.13 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.8157, allocations: 106.5 kB / 1.131 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.8167, allocations: 163 kB / 1.131 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/0.8175, allocations: 0.5211 MB / 1.131 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.8175, allocations: 45.3 kB / 1.131 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.742e-05/0.8176, allocations: 52 kB / 1.131 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.8189, allocations: 0.6518 MB / 1.132 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.8189, allocations: 0 / 1.132 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/0.819, allocations: 24 kB / 1.132 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/0.819, allocations: 21.31 kB / 1.132 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009217/0.8199, allocations: 0.5126 MB / 1.132 GB, free: 5.871 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.003267/0.8232, allocations: 2.316 MB / 1.135 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.8237, allocations: 255.5 kB / 1.135 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.824, allocations: 140.7 kB / 1.135 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.824, allocations: 7.984 kB / 1.135 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.8241, allocations: 38.56 kB / 1.135 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=20): time 3.547e-06/0.8241, allocations: 0 / 1.135 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20): time 0.001693/0.8258, allocations: 0.6674 MB / 1.136 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.8258, allocations: 85.05 kB / 1.136 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.8264, allocations: 0.5574 MB / 1.136 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.8265, allocations: 33.7 kB / 1.136 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.8267, allocations: 331.1 kB / 1.137 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.8268, allocations: 78.92 kB / 1.137 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.8269, allocations: 65.94 kB / 1.137 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.827, allocations: 370.7 kB / 1.137 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.8273, allocations: 128.6 kB / 1.137 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.8276, allocations: 226.5 kB / 1.138 GB, free: 288 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.8282, allocations: 332.9 kB / 1.138 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.8282, allocations: 0 / 1.138 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009082/0.8291, allocations: 498.6 kB / 1.138 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.8291, allocations: 4 kB / 1.138 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.8291, allocations: 4 kB / 1.138 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003008/0.8294, allocations: 93.7 kB / 1.138 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.8298, allocations: 71.91 kB / 1.139 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.8327, allocations: 3.343 MB / 1.142 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.8331, allocations: 55.36 kB / 1.142 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.8332, allocations: 16 kB / 1.142 GB, free: 11.56 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.0002351/0.8334, allocations: 214.5 kB / 1.142 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.8335, allocations: 55.34 kB / 1.142 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.312e-05/0.8336, allocations: 60.5 kB / 1.142 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.8336, allocations: 0 / 1.142 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.8336, allocations: 3.938 kB / 1.142 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007636/0.8344, allocations: 0.5306 MB / 1.143 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.8357, allocations: 0.9238 MB / 1.144 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8357, allocations: 0 / 1.144 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.8359, allocations: 39.97 kB / 1.144 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.8361, allocations: 64.88 kB / 1.144 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.8361, allocations: 8 kB / 1.144 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.8378, allocations: 1.825 MB / 1.146 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8378, allocations: 0 / 1.146 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.8384, allocations: 447.2 kB / 1.146 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.8386, allocations: 164.5 kB / 1.146 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-05/0.8387, allocations: 7.938 kB / 1.146 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/0.8391, allocations: 17.11 kB / 1.146 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.8392, allocations: 27.88 kB / 1.146 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.8393, allocations: 12 kB / 1.146 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004685/0.8397, allocations: 398.8 kB / 1.147 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8398, allocations: 0 / 1.147 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005807/0.8403, allocations: 199.7 kB / 1.147 GB, free: 6.27 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.001111/0.8415, allocations: 1.044 MB / 1.148 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00092/0.8424, allocations: 0.5382 MB / 1.148 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.8424, allocations: 4 kB / 1.148 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003589/0.8428, allocations: 250.5 kB / 1.149 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.8444, allocations: 380.3 kB / 1.149 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005781/0.8502, allocations: 4.54 MB / 1.153 GB, free: 15.31 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.8507, allocations: 0.9054 MB / 1.154 GB, free: 14.38 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004354/0.8512, allocations: 108.8 kB / 1.154 GB, free: 14.27 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.8514, allocations: 195.4 kB / 1.154 GB, free: 14.08 MB / 0.92 GB Notification: Performance of SimCode: time 4.21e-07/0.8514, allocations: 4 kB / 1.154 GB, free: 14.07 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/0.9634, allocations: 17.63 MB / 1.172 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.68, allocations: 5.156 kB / 1.172 GB, free: 12.8 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