Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.001355/0.001355, 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.001128/0.001128, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.288/2.288, allocations: 437.1 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.91 kB / 0.8693 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5016, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04459/0.5462, allocations: 49.79 MB / 1.066 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.5631, allocations: 12.67 MB / 1.078 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.5654, allocations: 79.56 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.5674, allocations: 0.7604 MB / 1.079 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004308/0.5717, allocations: 1.823 MB / 1.081 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.5748, allocations: 1.349 MB / 1.082 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003546/0.5783, allocations: 3.245 MB / 1.085 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.58, allocations: 1.253 MB / 1.087 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.5825, allocations: 1.292 MB / 1.088 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.5838, allocations: 0.9369 MB / 1.089 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.584, allocations: 96 kB / 1.089 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.5859, allocations: 1.06 MB / 1.09 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.5861, allocations: 294.8 kB / 1.09 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005758/0.5867, allocations: 0.6761 MB / 1.091 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.5886, allocations: 1.916 MB / 1.093 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5886, allocations: 0 / 1.093 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5886, allocations: 0 / 1.093 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.5887, allocations: 0 / 1.093 GB, free: 4.961 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002133/0.5908, allocations: 1.705 MB / 1.094 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.5908, allocations: 12.03 kB / 1.095 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.591, allocations: 131.4 kB / 1.095 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005367/0.5915, allocations: 211 kB / 1.095 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.5931, allocations: 1.031 MB / 1.096 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003419/0.5935, allocations: 122.1 kB / 1.096 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-05/0.5936, allocations: 84 kB / 1.096 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.5953, allocations: 1.007 MB / 1.097 GB, free: 484 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.5953, allocations: 3.938 kB / 1.097 GB, free: 480 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/0.5954, allocations: 40 kB / 1.097 GB, free: 440 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.5954, allocations: 20 kB / 1.097 GB, free: 420 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.5969, allocations: 0.6595 MB / 1.098 GB, free: 15.75 MB / 0.8575 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.004995/0.6019, allocations: 4.77 MB / 1.102 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.6031, allocations: 410.6 kB / 1.103 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.6037, allocations: 220.7 kB / 1.103 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/0.6048, allocations: 1.144 MB / 1.104 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.6048, allocations: 42.56 kB / 1.104 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=29): time 2.294e-06/0.6048, allocations: 0 / 1.104 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.002926/0.6078, allocations: 1.094 MB / 1.105 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6078, allocations: 59.41 kB / 1.105 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.6091, allocations: 0.9715 MB / 1.106 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.6091, allocations: 33.7 kB / 1.106 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.6096, allocations: 0.5888 MB / 1.107 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-05/0.6097, allocations: 110.5 kB / 1.107 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.6098, allocations: 110 kB / 1.107 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.6099, allocations: 330 kB / 1.107 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.6105, allocations: 201 kB / 1.108 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008062/0.6113, allocations: 414.3 kB / 1.108 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.6126, allocations: 0.6137 MB / 1.109 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.6126, allocations: 0 / 1.109 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001749/0.6144, allocations: 0.7642 MB / 1.109 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.6144, allocations: 11.94 kB / 1.109 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.6144, allocations: 4 kB / 1.109 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/0.615, allocations: 162.8 kB / 1.109 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.6157, allocations: 151.8 kB / 1.11 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.617, allocations: 1.712 MB / 1.111 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.6176, allocations: 95.27 kB / 1.111 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.6177, allocations: 35.98 kB / 1.111 GB, free: 0.8008 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003858/0.6181, allocations: 265.7 kB / 1.112 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.6182, allocations: 110.6 kB / 1.112 GB, free: 432 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.6201, allocations: 0.7231 MB / 1.112 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.6201, allocations: 7.938 kB / 1.112 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6201, allocations: 8 kB / 1.112 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.6201, allocations: 3.984 kB / 1.112 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.6228, allocations: 1.64 MB / 1.114 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.6228, allocations: 4 kB / 1.114 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/0.6233, allocations: 96.02 kB / 1.114 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005266/0.6239, allocations: 154.4 kB / 1.114 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.6239, allocations: 8 kB / 1.114 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.6249, allocations: 1.708 MB / 1.116 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6249, allocations: 7.969 kB / 1.116 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.6266, allocations: 0.7878 MB / 1.117 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.6269, allocations: 247.5 kB / 1.117 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.627, allocations: 8.062 kB / 1.117 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.6276, allocations: 55.94 kB / 1.117 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.6277, allocations: 31.84 kB / 1.117 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.6277, allocations: 19.98 kB / 1.117 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008531/0.6286, allocations: 0.658 MB / 1.118 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6286, allocations: 4 kB / 1.118 GB, free: 10 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009238/0.6295, allocations: 371.2 kB / 1.118 GB, free: 9.641 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002463/0.632, allocations: 1.651 MB / 1.12 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.6336, allocations: 0.5715 MB / 1.12 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6336, allocations: 0 / 1.12 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008001/0.6344, allocations: 300.9 kB / 1.121 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.6367, allocations: 0.5228 MB / 1.121 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.6478, allocations: 7.73 MB / 1.129 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.6485, allocations: 1.103 MB / 1.13 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000739/0.6493, allocations: 196.1 kB / 1.13 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/0.6497, allocations: 419.3 kB / 1.13 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.6497, allocations: 0 / 1.13 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.842/3.491, allocations: 29.27 MB / 1.159 GB, free: 15.81 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.61/20.1, allocations: 14.19 kB / 1.159 GB, free: 15.8 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches