Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_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.004816/0.004816, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001311/0.001311, allocations: 194.7 kB / 16.68 MB, free: 5.969 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 72.83 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3005, allocations: 162.2 MB / 1.241 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.08116/0.3817, allocations: 49.89 MB / 1.29 GB, free: 7.168 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01891/0.4007, allocations: 12.69 MB / 1.303 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.4027, allocations: 75.56 kB / 1.303 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.405, allocations: 0.7681 MB / 1.303 GB, free: 9.598 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.4102, allocations: 1.819 MB / 1.305 GB, free: 7.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.4139, allocations: 1.364 MB / 1.307 GB, free: 6.422 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004824/0.4187, allocations: 3.25 MB / 1.31 GB, free: 3.164 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.4208, allocations: 1.251 MB / 1.311 GB, free: 1.879 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003848/0.4247, allocations: 1.472 MB / 1.312 GB, free: 420 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.4263, allocations: 0.9176 MB / 1.313 GB, free: 15.48 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002491/0.4265, allocations: 96 kB / 1.313 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.4289, allocations: 1.053 MB / 1.314 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000354/0.4293, allocations: 298.8 kB / 1.315 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008772/0.4302, allocations: 0.6684 MB / 1.315 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.4334, allocations: 1.973 MB / 1.317 GB, free: 11.39 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4334, allocations: 0 / 1.317 GB, free: 11.39 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4334, allocations: 3.938 kB / 1.317 GB, free: 11.39 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.41e-05/0.4335, allocations: 0 / 1.317 GB, free: 11.39 MB / 1.045 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.002861/0.4363, allocations: 1.75 MB / 1.319 GB, free: 9.582 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4364, allocations: 8.031 kB / 1.319 GB, free: 9.574 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.4365, allocations: 131.4 kB / 1.319 GB, free: 9.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006229/0.4372, allocations: 215.9 kB / 1.319 GB, free: 9.227 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.4392, allocations: 1.109 MB / 1.32 GB, free: 8.062 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/0.4393, allocations: 70.12 kB / 1.32 GB, free: 7.996 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.4395, allocations: 84 kB / 1.32 GB, free: 7.914 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.4413, allocations: 1.007 MB / 1.321 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.4413, allocations: 0 / 1.321 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.4414, allocations: 40 kB / 1.322 GB, free: 6.785 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.4415, allocations: 23.94 kB / 1.322 GB, free: 6.762 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.4431, allocations: 0.6516 MB / 1.322 GB, free: 6.109 MB / 1.045 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.005521/0.4486, allocations: 4.739 MB / 1.327 GB, free: 1.102 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.4498, allocations: 398.5 kB / 1.327 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005834/0.4504, allocations: 216.7 kB / 1.327 GB, free: 500 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.4514, allocations: 1.144 MB / 1.329 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.4515, allocations: 34.56 kB / 1.329 GB, free: 15.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=29): time 3.416e-06/0.4515, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=29): time 0.002952/0.4544, allocations: 1.084 MB / 1.33 GB, free: 13.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.4545, allocations: 59.34 kB / 1.33 GB, free: 13.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.4558, allocations: 0.9754 MB / 1.331 GB, free: 12.83 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.4558, allocations: 29.7 kB / 1.331 GB, free: 12.79 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/0.4563, allocations: 0.6017 MB / 1.331 GB, free: 12.19 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.4564, allocations: 107.1 kB / 1.331 GB, free: 12.08 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.4566, allocations: 114.1 kB / 1.331 GB, free: 11.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.4568, allocations: 326 kB / 1.332 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005628/0.4573, allocations: 201 kB / 1.332 GB, free: 11.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/0.4581, allocations: 407.3 kB / 1.332 GB, free: 10.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.4594, allocations: 0.5979 MB / 1.333 GB, free: 10.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4594, allocations: 4 kB / 1.333 GB, free: 10.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001767/0.4612, allocations: 0.7608 MB / 1.334 GB, free: 9.492 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4612, allocations: 11.98 kB / 1.334 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4612, allocations: 4 kB / 1.334 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006925/0.4619, allocations: 158.7 kB / 1.334 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/0.4626, allocations: 147.8 kB / 1.334 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.4639, allocations: 1.727 MB / 1.336 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/0.4646, allocations: 91.66 kB / 1.336 GB, free: 7.273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.4646, allocations: 35.92 kB / 1.336 GB, free: 7.238 MB / 1.061 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.0004153/0.4651, allocations: 265.6 kB / 1.336 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.4653, allocations: 123.2 kB / 1.336 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.4672, allocations: 0.7152 MB / 1.337 GB, free: 6.113 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.4672, allocations: 11.92 kB / 1.337 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4672, allocations: 0 / 1.337 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4672, allocations: 0 / 1.337 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.4703, allocations: 1.632 MB / 1.338 GB, free: 4.391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4703, allocations: 8.031 kB / 1.338 GB, free: 4.383 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/0.4708, allocations: 79.91 kB / 1.339 GB, free: 4.305 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005953/0.4714, allocations: 158.3 kB / 1.339 GB, free: 4.141 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.4715, allocations: 15.98 kB / 1.339 GB, free: 4.125 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.4729, allocations: 1.708 MB / 1.34 GB, free: 2.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.4729, allocations: 0 / 1.34 GB, free: 2.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.4746, allocations: 0.7884 MB / 1.341 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.475, allocations: 248.2 kB / 1.341 GB, free: 1.246 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.4751, allocations: 8.281 kB / 1.341 GB, free: 1.238 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.4757, allocations: 39.95 kB / 1.341 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.99e-05/0.4758, allocations: 35.89 kB / 1.341 GB, free: 1.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.4759, allocations: 19.98 kB / 1.341 GB, free: 1.145 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009311/0.4768, allocations: 0.6619 MB / 1.342 GB, free: 488 kB / 1.061 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4768, allocations: 0 / 1.342 GB, free: 488 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.001015/0.4778, allocations: 386.9 kB / 1.342 GB, free: 100 kB / 1.061 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.00284/0.4807, allocations: 1.632 MB / 1.344 GB, free: 14.41 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.4823, allocations: 0.5608 MB / 1.345 GB, free: 13.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4824, allocations: 320 / 1.345 GB, free: 13.86 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008606/0.4832, allocations: 288 kB / 1.345 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.4857, allocations: 0.5287 MB / 1.345 GB, free: 13.06 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.4983, allocations: 7.326 MB / 1.353 GB, free: 5.387 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008259/0.4991, allocations: 1.103 MB / 1.354 GB, free: 4.258 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006696/0.4998, allocations: 192.1 kB / 1.354 GB, free: 4.066 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/0.5004, allocations: 415.3 kB / 1.354 GB, free: 3.66 MB / 1.076 GB Notification: Performance of SimCode: time 7.22e-07/0.5004, allocations: 0 / 1.354 GB, free: 3.66 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06671/0.5671, allocations: 29.51 MB / 1.383 GB, free: 6.598 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/13.96, allocations: 4.219 kB / 1.383 GB, free: 6.598 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches