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.001487/0.001487, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001709/0.001709, allocations: 189.2 kB / 16.25 MB, free: 6.59 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.477 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.539/2.539, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 75.86 kB / 0.8689 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5271/0.5284, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04176/0.5702, allocations: 49.37 MB / 1.065 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.5853, allocations: 12.59 MB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.5875, allocations: 71.5 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.5894, allocations: 0.6487 MB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004223/0.5936, allocations: 1.707 MB / 1.08 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.5966, allocations: 1.22 MB / 1.081 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00366/0.6003, allocations: 3.281 MB / 1.084 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.6019, allocations: 1.229 MB / 1.085 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003077/0.605, allocations: 1.322 MB / 1.087 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.6063, allocations: 0.9563 MB / 1.088 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.6065, allocations: 96 kB / 1.088 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.6085, allocations: 1.076 MB / 1.089 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003356/0.6089, allocations: 290.8 kB / 1.089 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008195/0.6097, allocations: 0.6761 MB / 1.09 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.6122, allocations: 1.943 MB / 1.092 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6122, allocations: 0 / 1.092 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6122, allocations: 0 / 1.092 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.967e-05/0.6123, allocations: 0 / 1.092 GB, free: 5.98 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.00227/0.6145, allocations: 1.705 MB / 1.093 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.6146, allocations: 12.03 kB / 1.093 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.6147, allocations: 135.4 kB / 1.093 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005213/0.6152, allocations: 210.9 kB / 1.094 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.6168, allocations: 1.085 MB / 1.095 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003429/0.6172, allocations: 126.1 kB / 1.095 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.984e-05/0.6173, allocations: 80 kB / 1.095 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.6188, allocations: 0.9922 MB / 1.096 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.6188, allocations: 0 / 1.096 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.008e-05/0.6189, allocations: 36 kB / 1.096 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.6189, allocations: 24 kB / 1.096 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.6202, allocations: 0.6517 MB / 1.097 GB, free: 0.75 MB / 0.8419 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.004051/0.6243, allocations: 4.414 MB / 1.101 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.6254, allocations: 408.6 kB / 1.101 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/0.6259, allocations: 228.6 kB / 1.101 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007127/0.6266, allocations: 1.148 MB / 1.103 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.6266, allocations: 34.56 kB / 1.103 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.6266, allocations: 4 kB / 1.103 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.002635/0.6293, allocations: 1.096 MB / 1.104 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.6293, allocations: 51.41 kB / 1.104 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008995/0.6302, allocations: 0.9317 MB / 1.105 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.6303, allocations: 33.7 kB / 1.105 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.6306, allocations: 0.5773 MB / 1.105 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.6307, allocations: 106.6 kB / 1.105 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.6308, allocations: 110.1 kB / 1.105 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.6309, allocations: 326 kB / 1.106 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/0.6315, allocations: 193 kB / 1.106 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.6321, allocations: 382.9 kB / 1.106 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.6331, allocations: 0.5727 MB / 1.107 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6331, allocations: 4 kB / 1.107 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001429/0.6346, allocations: 0.7326 MB / 1.108 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6346, allocations: 7.984 kB / 1.108 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.6346, allocations: 11.98 kB / 1.108 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006193/0.6352, allocations: 159.1 kB / 1.108 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.6358, allocations: 143.8 kB / 1.108 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009173/0.6367, allocations: 1.716 MB / 1.11 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006517/0.6374, allocations: 107.4 kB / 1.11 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.6375, allocations: 28 kB / 1.11 GB, free: 2.363 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0003292/0.6378, allocations: 266.4 kB / 1.11 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.6379, allocations: 114.6 kB / 1.11 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.6396, allocations: 0.7308 MB / 1.111 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.6396, allocations: 11.94 kB / 1.111 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6397, allocations: 0 / 1.111 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.6397, allocations: 0 / 1.111 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.6423, allocations: 1.632 MB / 1.112 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6423, allocations: 0 / 1.112 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.6428, allocations: 96.03 kB / 1.112 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005341/0.6433, allocations: 154.3 kB / 1.113 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.6434, allocations: 15.98 kB / 1.113 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009018/0.6443, allocations: 1.716 MB / 1.114 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6443, allocations: 0 / 1.114 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.6458, allocations: 0.7917 MB / 1.115 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.6461, allocations: 251.5 kB / 1.115 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.6462, allocations: 8 kB / 1.115 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/0.6469, allocations: 71.92 kB / 1.115 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.647, allocations: 35.84 kB / 1.115 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.647, allocations: 19.98 kB / 1.115 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007148/0.6477, allocations: 0.6303 MB / 1.116 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6477, allocations: 0 / 1.116 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008862/0.6486, allocations: 363.1 kB / 1.116 GB, free: 11.21 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.002371/0.651, allocations: 1.618 MB / 1.118 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.6525, allocations: 0.5604 MB / 1.119 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6525, allocations: 0 / 1.119 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007702/0.6533, allocations: 300 kB / 1.119 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.6554, allocations: 0.5222 MB / 1.119 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.6665, allocations: 7.934 MB / 1.127 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.6671, allocations: 1.103 MB / 1.128 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006588/0.6678, allocations: 179.9 kB / 1.128 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.6682, allocations: 419.3 kB / 1.129 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of SimCode: time 4.81e-07/0.6682, allocations: 0 / 1.129 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.82/3.488, allocations: 28.24 MB / 1.156 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/3.488, allocations: 292.3 kB / 1.157 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/5.961, allocations: 0 / 1.157 GB, free: 1.945 MB / 0.9044 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