Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_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.007386/0.007386, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001945/0.001945, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.16 kB / 0.9504 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2488, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04855/0.2974, allocations: 49.78 MB / 1.136 GB, free: 56 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01866/0.3161, allocations: 12.68 MB / 1.148 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.3185, allocations: 83.5 kB / 1.149 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.3206, allocations: 0.7565 MB / 1.149 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004829/0.3254, allocations: 1.835 MB / 1.151 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003472/0.3289, allocations: 1.364 MB / 1.152 GB, free: 15.31 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004221/0.3331, allocations: 3.249 MB / 1.156 GB, free: 12.05 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.335, allocations: 1.249 MB / 1.157 GB, free: 10.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.3381, allocations: 1.305 MB / 1.158 GB, free: 9.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.3397, allocations: 0.933 MB / 1.159 GB, free: 8.535 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002895/0.34, allocations: 96 kB / 1.159 GB, free: 8.441 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.3425, allocations: 1.064 MB / 1.16 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004369/0.343, allocations: 290.8 kB / 1.16 GB, free: 7.09 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.3441, allocations: 0.6722 MB / 1.161 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.3474, allocations: 1.956 MB / 1.163 GB, free: 4.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3475, allocations: 0 / 1.163 GB, free: 4.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3475, allocations: 4 kB / 1.163 GB, free: 4.449 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.426e-05/0.3475, allocations: 0 / 1.163 GB, free: 4.449 MB / 0.92 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.003129/0.3507, allocations: 1.693 MB / 1.165 GB, free: 2.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3507, allocations: 8.031 kB / 1.165 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.3509, allocations: 135.4 kB / 1.165 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007084/0.3516, allocations: 211.1 kB / 1.165 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.3538, allocations: 1.1 MB / 1.166 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/0.3539, allocations: 70.12 kB / 1.166 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.354, allocations: 87.94 kB / 1.166 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.3557, allocations: 1.001 MB / 1.167 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.3557, allocations: 3.938 kB / 1.167 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.157e-05/0.3558, allocations: 32 kB / 1.167 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.3558, allocations: 24 kB / 1.167 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.3572, allocations: 0.6516 MB / 1.168 GB, free: 15.24 MB / 0.9356 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.00479/0.362, allocations: 4.722 MB / 1.172 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.3632, allocations: 391.1 kB / 1.173 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.3637, allocations: 216.7 kB / 1.173 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008499/0.3646, allocations: 1.144 MB / 1.174 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3646, allocations: 42.56 kB / 1.174 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=29): time 3.416e-06/0.3646, allocations: 0 / 1.174 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.002884/0.3675, allocations: 1.077 MB / 1.175 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.3676, allocations: 59.34 kB / 1.175 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.3687, allocations: 0.9754 MB / 1.176 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.3687, allocations: 33.7 kB / 1.176 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.3691, allocations: 0.585 MB / 1.177 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/0.3692, allocations: 102.6 kB / 1.177 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.3694, allocations: 114 kB / 1.177 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3695, allocations: 326 kB / 1.177 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/0.3701, allocations: 200.9 kB / 1.178 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006746/0.3708, allocations: 406.3 kB / 1.178 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.372, allocations: 0.6057 MB / 1.179 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.372, allocations: 0 / 1.179 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001637/0.3736, allocations: 0.753 MB / 1.179 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3737, allocations: 11.94 kB / 1.179 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3737, allocations: 8 kB / 1.179 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006569/0.3743, allocations: 159.2 kB / 1.179 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.3749, allocations: 147.8 kB / 1.18 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.376, allocations: 1.723 MB / 1.181 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006391/0.3767, allocations: 87.41 kB / 1.181 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.3767, allocations: 31.98 kB / 1.181 GB, free: 424 kB / 0.9356 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.0003848/0.3771, allocations: 265.6 kB / 1.182 GB, free: 148 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.3773, allocations: 114.7 kB / 1.182 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.3791, allocations: 0.7267 MB / 1.182 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.3791, allocations: 11.92 kB / 1.182 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3791, allocations: 0 / 1.182 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3791, allocations: 0 / 1.182 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/0.3819, allocations: 1.628 MB / 1.184 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.3819, allocations: 0 / 1.184 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.3824, allocations: 92.08 kB / 1.184 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000559/0.383, allocations: 154.5 kB / 1.184 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.383, allocations: 11.98 kB / 1.184 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009708/0.384, allocations: 1.708 MB / 1.186 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.384, allocations: 0 / 1.186 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.3855, allocations: 0.7839 MB / 1.187 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.3859, allocations: 247.6 kB / 1.187 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.386, allocations: 8 kB / 1.187 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/0.3866, allocations: 47.94 kB / 1.187 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.3867, allocations: 31.91 kB / 1.187 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/0.3868, allocations: 23.98 kB / 1.187 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008997/0.3877, allocations: 0.658 MB / 1.188 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3877, allocations: 0 / 1.188 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001038/0.3887, allocations: 375.1 kB / 1.188 GB, free: 9.289 MB / 0.9512 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.002671/0.3914, allocations: 1.631 MB / 1.19 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.3931, allocations: 0.5486 MB / 1.19 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.3931, allocations: 0 / 1.19 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008132/0.3939, allocations: 296 kB / 1.191 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.3963, allocations: 0.5189 MB / 1.191 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.4078, allocations: 7.303 MB / 1.198 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.4086, allocations: 1.103 MB / 1.199 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006979/0.4093, allocations: 188.2 kB / 1.199 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/0.4098, allocations: 419.3 kB / 1.2 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of SimCode: time 8.52e-07/0.4098, allocations: 0 / 1.2 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.836/2.246, allocations: 29.51 MB / 1.229 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.6/24.85, allocations: 14.42 kB / 1.229 GB, free: 15.73 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches