Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_11_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.00494/0.00494, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001367/0.001367, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.431/2.431, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 67.88 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6085/0.6102, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04544/0.6557, allocations: 49.79 MB / 1.269 GB, free: 56 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.6718, allocations: 12.68 MB / 1.281 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.6731, allocations: 83.5 kB / 1.281 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.6747, allocations: 0.7526 MB / 1.282 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.6781, allocations: 1.827 MB / 1.284 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002767/0.6809, allocations: 1.375 MB / 1.285 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003232/0.6841, allocations: 3.249 MB / 1.288 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.6855, allocations: 1.25 MB / 1.29 GB, free: 10.76 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.6878, allocations: 1.303 MB / 1.291 GB, free: 9.465 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000986/0.6888, allocations: 0.9291 MB / 1.292 GB, free: 8.531 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.6889, allocations: 96 kB / 1.292 GB, free: 8.438 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.6907, allocations: 1.068 MB / 1.293 GB, free: 7.367 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.691, allocations: 286.8 kB / 1.293 GB, free: 7.086 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005892/0.6916, allocations: 0.68 MB / 1.294 GB, free: 6.402 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.6937, allocations: 1.965 MB / 1.296 GB, free: 4.434 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.6937, allocations: 0 / 1.296 GB, free: 4.434 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6937, allocations: 0 / 1.296 GB, free: 4.434 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.6938, allocations: 0 / 1.296 GB, free: 4.434 MB / 1.014 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.002271/0.696, allocations: 1.742 MB / 1.297 GB, free: 2.633 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.6961, allocations: 8.031 kB / 1.297 GB, free: 2.625 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.6962, allocations: 131.4 kB / 1.298 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005202/0.6968, allocations: 219.9 kB / 1.298 GB, free: 2.273 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.6984, allocations: 1.105 MB / 1.299 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/0.6985, allocations: 70.12 kB / 1.299 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/0.6986, allocations: 84 kB / 1.299 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.7002, allocations: 0.9995 MB / 1.3 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.7002, allocations: 7.938 kB / 1.3 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/0.7003, allocations: 40 kB / 1.3 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.7003, allocations: 20 kB / 1.3 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.7017, allocations: 0.6477 MB / 1.301 GB, free: 15.17 MB / 1.029 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.004552/0.7063, allocations: 4.737 MB / 1.305 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.7073, allocations: 395.1 kB / 1.306 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.7078, allocations: 212.7 kB / 1.306 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008426/0.7087, allocations: 1.16 MB / 1.307 GB, free: 8.137 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.7087, allocations: 30.56 kB / 1.307 GB, free: 8.098 MB / 1.029 GB Notification: Performance of pre-optimization done (n=29): time 1.263e-06/0.7087, allocations: 0 / 1.307 GB, free: 8.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=29): time 0.002604/0.7113, allocations: 1.088 MB / 1.308 GB, free: 6.938 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.7114, allocations: 59.34 kB / 1.308 GB, free: 6.867 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.7124, allocations: 0.9676 MB / 1.309 GB, free: 5.887 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.7125, allocations: 33.7 kB / 1.309 GB, free: 5.848 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/0.7129, allocations: 0.6017 MB / 1.31 GB, free: 5.242 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/0.713, allocations: 103.2 kB / 1.31 GB, free: 5.141 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.7132, allocations: 118.1 kB / 1.31 GB, free: 5.016 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7133, allocations: 322 kB / 1.31 GB, free: 4.695 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.7138, allocations: 197 kB / 1.31 GB, free: 4.504 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/0.7145, allocations: 414.3 kB / 1.311 GB, free: 4.016 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.7156, allocations: 0.5989 MB / 1.311 GB, free: 3.328 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.7156, allocations: 0 / 1.311 GB, free: 3.328 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001502/0.7171, allocations: 0.7565 MB / 1.312 GB, free: 2.555 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.7172, allocations: 8.844 kB / 1.312 GB, free: 2.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.7172, allocations: 11.98 kB / 1.312 GB, free: 2.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/0.7178, allocations: 162.4 kB / 1.312 GB, free: 2.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.7183, allocations: 147.8 kB / 1.312 GB, free: 2.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.7194, allocations: 1.727 MB / 1.314 GB, free: 428 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.72, allocations: 91.45 kB / 1.314 GB, free: 336 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.72, allocations: 28 kB / 1.314 GB, free: 308 kB / 1.029 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.0003145/0.7203, allocations: 269.7 kB / 1.314 GB, free: 28 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.7205, allocations: 119.2 kB / 1.315 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.7222, allocations: 0.7285 MB / 1.315 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.7222, allocations: 7.938 kB / 1.315 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7222, allocations: 0 / 1.315 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.7222, allocations: 3.984 kB / 1.315 GB, free: 15.15 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/0.7247, allocations: 1.64 MB / 1.317 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.7247, allocations: 4 kB / 1.317 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.7252, allocations: 84.09 kB / 1.317 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005131/0.7257, allocations: 158.3 kB / 1.317 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.7257, allocations: 8 kB / 1.317 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.7268, allocations: 1.708 MB / 1.319 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7268, allocations: 0 / 1.319 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.7282, allocations: 0.7767 MB / 1.32 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.7285, allocations: 252.2 kB / 1.32 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.743e-05/0.7286, allocations: 11.98 kB / 1.32 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.7292, allocations: 43.95 kB / 1.32 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.7292, allocations: 36.17 kB / 1.32 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.7293, allocations: 19.98 kB / 1.32 GB, free: 10.2 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007612/0.7301, allocations: 0.6619 MB / 1.321 GB, free: 9.527 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7301, allocations: 0 / 1.321 GB, free: 9.527 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008237/0.7309, allocations: 378.9 kB / 1.321 GB, free: 9.156 MB / 1.045 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.002335/0.7332, allocations: 1.639 MB / 1.323 GB, free: 7.469 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.7346, allocations: 0.5555 MB / 1.323 GB, free: 6.914 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.7346, allocations: 4 kB / 1.323 GB, free: 6.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000755/0.7354, allocations: 280 kB / 1.323 GB, free: 6.637 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.7375, allocations: 0.5318 MB / 1.324 GB, free: 6.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009912/0.7474, allocations: 7.319 MB / 1.331 GB, free: 14.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.7481, allocations: 1.107 MB / 1.332 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005469/0.7486, allocations: 188.1 kB / 1.332 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/0.7491, allocations: 419.3 kB / 1.333 GB, free: 12.72 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.7491, allocations: 0 / 1.333 GB, free: 12.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.48/3.229, allocations: 29.52 MB / 1.362 GB, free: 15.66 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.08/23.31, allocations: 6.547 kB / 1.362 GB, free: 15.66 MB / 1.092 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches