Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_10_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.001276/0.001276, 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.001275/0.001275, allocations: 195.5 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.195/1.195, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.229/2.229, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.09 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4522, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1419/0.5941, allocations: 171.1 MB / 1.184 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005061/0.5992, allocations: 4.302 MB / 1.189 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.5995, allocations: 23.88 kB / 1.189 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007528/0.6003, allocations: 349.9 kB / 1.189 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.6023, allocations: 1.217 MB / 1.19 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.6037, allocations: 0.7869 MB / 1.191 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.6051, allocations: 1.695 MB / 1.193 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005798/0.6057, allocations: 0.5698 MB / 1.193 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007681/0.6065, allocations: 0.681 MB / 1.194 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009005/0.6074, allocations: 0.5522 MB / 1.194 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.703e-05/0.6075, allocations: 64 kB / 1.194 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.6087, allocations: 0.7951 MB / 1.195 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.6089, allocations: 271.3 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.6092, allocations: 410.2 kB / 1.196 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.6104, allocations: 1.25 MB / 1.197 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6104, allocations: 4 kB / 1.197 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.71e-07/0.6104, allocations: 0 / 1.197 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.6104, allocations: 4 kB / 1.197 GB, free: 9.953 MB / 0.9512 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.001449/0.6119, allocations: 1.04 MB / 1.198 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.6119, allocations: 12.03 kB / 1.198 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.751e-05/0.612, allocations: 94.52 kB / 1.198 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008928/0.6129, allocations: 163 kB / 1.198 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000638/0.6136, allocations: 0.521 MB / 1.199 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.6136, allocations: 41.31 kB / 1.199 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/0.6137, allocations: 56 kB / 1.199 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009225/0.6146, allocations: 0.6479 MB / 1.2 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.6146, allocations: 0 / 1.2 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/0.6147, allocations: 24 kB / 1.2 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.6147, allocations: 21.31 kB / 1.2 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008182/0.6155, allocations: 0.5204 MB / 1.2 GB, free: 6.707 MB / 0.9512 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.002722/0.6183, allocations: 2.313 MB / 1.202 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.6187, allocations: 254.7 kB / 1.203 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.619, allocations: 140.7 kB / 1.203 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.619, allocations: 4 kB / 1.203 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.619, allocations: 38.56 kB / 1.203 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.243e-06/0.619, allocations: 0 / 1.203 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001433/0.6205, allocations: 0.6707 MB / 1.203 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.6205, allocations: 85.05 kB / 1.204 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.6211, allocations: 0.5574 MB / 1.204 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.6211, allocations: 29.7 kB / 1.204 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.6213, allocations: 335.1 kB / 1.204 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.6213, allocations: 67.02 kB / 1.205 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.6214, allocations: 69.94 kB / 1.205 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6216, allocations: 366.7 kB / 1.205 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.6218, allocations: 132.6 kB / 1.205 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.6221, allocations: 214.7 kB / 1.205 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.6226, allocations: 328.3 kB / 1.206 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6226, allocations: 0 / 1.206 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000799/0.6234, allocations: 0.4947 MB / 1.206 GB, free: 284 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.6234, allocations: 8 kB / 1.206 GB, free: 276 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6234, allocations: 3.984 kB / 1.206 GB, free: 272 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/0.6237, allocations: 97.59 kB / 1.206 GB, free: 168 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.624, allocations: 75.95 kB / 1.206 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.6265, allocations: 3.345 MB / 1.21 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.6269, allocations: 51.64 kB / 1.21 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.6269, allocations: 12 kB / 1.21 GB, free: 12.41 MB / 0.9669 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.0001992/0.6271, allocations: 218.4 kB / 1.21 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/0.6272, allocations: 59.34 kB / 1.21 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.137e-05/0.6273, allocations: 56.5 kB / 1.21 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.6273, allocations: 4 kB / 1.21 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.6273, allocations: 3.938 kB / 1.21 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006227/0.6279, allocations: 0.5358 MB / 1.21 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.629, allocations: 0.9104 MB / 1.211 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.629, allocations: 0 / 1.211 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.6292, allocations: 43.97 kB / 1.211 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.6294, allocations: 64.88 kB / 1.211 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.6294, allocations: 7.984 kB / 1.211 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.6308, allocations: 1.817 MB / 1.213 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6308, allocations: 11.86 kB / 1.213 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.6314, allocations: 439.4 kB / 1.214 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.6316, allocations: 168.4 kB / 1.214 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.6317, allocations: 7.938 kB / 1.214 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.6321, allocations: 24.67 kB / 1.214 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.6321, allocations: 23.97 kB / 1.214 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.6322, allocations: 11.98 kB / 1.214 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003841/0.6326, allocations: 402.8 kB / 1.214 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6326, allocations: 0 / 1.214 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005201/0.6331, allocations: 207.7 kB / 1.214 GB, free: 7.098 MB / 0.9669 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.0009946/0.6341, allocations: 1.034 MB / 1.215 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007798/0.6349, allocations: 0.54 MB / 1.216 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6349, allocations: 0 / 1.216 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.6352, allocations: 252 kB / 1.216 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.6368, allocations: 370.1 kB / 1.217 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.6419, allocations: 4.543 MB / 1.221 GB, free: 160 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.6424, allocations: 0.9171 MB / 1.222 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003834/0.6428, allocations: 112.8 kB / 1.222 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.643, allocations: 187.4 kB / 1.222 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.643, allocations: 4 kB / 1.222 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.186/1.829, allocations: 17.65 MB / 1.239 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/15.44, allocations: 5.656 kB / 1.239 GB, free: 13.62 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches