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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001342/0.001342, 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.001269/0.001269, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 461.9 MB / 0.7346 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 64.03 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2661, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04204/0.3082, allocations: 49.79 MB / 1.102 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.3235, allocations: 12.67 MB / 1.114 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.3251, allocations: 83.5 kB / 1.114 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.3266, allocations: 0.7526 MB / 1.115 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.33, allocations: 1.834 MB / 1.116 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.3327, allocations: 1.348 MB / 1.118 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002856/0.3356, allocations: 3.241 MB / 1.121 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.3368, allocations: 1.254 MB / 1.122 GB, free: 1.016 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.3389, allocations: 1.303 MB / 1.123 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008889/0.3398, allocations: 0.9291 MB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.34, allocations: 96 kB / 1.124 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.3417, allocations: 1.06 MB / 1.126 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.342, allocations: 294.8 kB / 1.126 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005339/0.3425, allocations: 0.6761 MB / 1.126 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.3445, allocations: 1.916 MB / 1.128 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3445, allocations: 0 / 1.128 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3445, allocations: 0 / 1.128 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.3445, allocations: 0 / 1.128 GB, free: 10.74 MB / 0.8887 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.002142/0.3466, allocations: 1.705 MB / 1.13 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3467, allocations: 8.625 kB / 1.13 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.3468, allocations: 139.4 kB / 1.13 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005394/0.3474, allocations: 203.1 kB / 1.13 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.3489, allocations: 1.026 MB / 1.131 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.3492, allocations: 126.1 kB / 1.131 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.113e-05/0.3493, allocations: 88 kB / 1.132 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.3508, allocations: 1.003 MB / 1.133 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3509, allocations: 7.938 kB / 1.133 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.3509, allocations: 35.94 kB / 1.133 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.351, allocations: 24 kB / 1.133 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.3524, allocations: 0.6594 MB / 1.133 GB, free: 5.527 MB / 0.8887 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.00435/0.3567, allocations: 4.765 MB / 1.138 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.358, allocations: 414.5 kB / 1.138 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005415/0.3585, allocations: 220.7 kB / 1.138 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007815/0.3593, allocations: 1.144 MB / 1.14 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3593, allocations: 42.5 kB / 1.14 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.3593, allocations: 0 / 1.14 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.002796/0.3621, allocations: 1.094 MB / 1.141 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3622, allocations: 59.39 kB / 1.141 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.3633, allocations: 0.9715 MB / 1.142 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.3633, allocations: 29.7 kB / 1.142 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.3637, allocations: 0.5928 MB / 1.142 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/0.3638, allocations: 102.5 kB / 1.142 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.3639, allocations: 110.1 kB / 1.143 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.364, allocations: 326 kB / 1.143 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005359/0.3646, allocations: 201 kB / 1.143 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006771/0.3653, allocations: 418.3 kB / 1.143 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.3664, allocations: 0.6137 MB / 1.144 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3665, allocations: 4 kB / 1.144 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001606/0.3681, allocations: 0.756 MB / 1.145 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3681, allocations: 8 kB / 1.145 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3681, allocations: 12.84 kB / 1.145 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/0.3687, allocations: 166.3 kB / 1.145 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.3694, allocations: 147.8 kB / 1.145 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009391/0.3703, allocations: 1.716 MB / 1.147 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005906/0.3709, allocations: 95.34 kB / 1.147 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.371, allocations: 31.98 kB / 1.147 GB, free: 6.594 MB / 0.9044 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.0003371/0.3713, allocations: 267.2 kB / 1.147 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.3715, allocations: 114.6 kB / 1.147 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.3732, allocations: 0.7308 MB / 1.148 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.3732, allocations: 11.88 kB / 1.148 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3733, allocations: 0 / 1.148 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3733, allocations: 3.984 kB / 1.148 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.3759, allocations: 1.644 MB / 1.15 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.3759, allocations: 0 / 1.15 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.3764, allocations: 91.89 kB / 1.15 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005155/0.3769, allocations: 150.5 kB / 1.15 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.3769, allocations: 15.98 kB / 1.15 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009486/0.3779, allocations: 1.704 MB / 1.151 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3779, allocations: 192 / 1.151 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.3794, allocations: 0.7919 MB / 1.152 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.3797, allocations: 247.5 kB / 1.152 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.3798, allocations: 11.94 kB / 1.153 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/0.3804, allocations: 55.94 kB / 1.153 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.3805, allocations: 27.91 kB / 1.153 GB, free: 492 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.3805, allocations: 23.98 kB / 1.153 GB, free: 468 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007377/0.3812, allocations: 0.6619 MB / 1.153 GB, free: 15.79 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3813, allocations: 0 / 1.153 GB, free: 15.79 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000845/0.3821, allocations: 375.1 kB / 1.154 GB, free: 15.42 MB / 0.92 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.002363/0.3845, allocations: 1.645 MB / 1.155 GB, free: 13.73 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.3861, allocations: 0.5754 MB / 1.156 GB, free: 13.15 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3861, allocations: 4 kB / 1.156 GB, free: 13.15 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008015/0.3869, allocations: 296.7 kB / 1.156 GB, free: 12.86 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.3891, allocations: 0.5269 MB / 1.157 GB, free: 12.36 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.3993, allocations: 7.743 MB / 1.164 GB, free: 4.137 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.3999, allocations: 1.103 MB / 1.165 GB, free: 3.004 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006391/0.4005, allocations: 188.2 kB / 1.165 GB, free: 2.816 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/0.401, allocations: 419.3 kB / 1.166 GB, free: 2.406 MB / 0.92 GB Notification: Performance of SimCode: time 1.653e-06/0.401, allocations: 0 / 1.166 GB, free: 2.406 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3802/0.7812, allocations: 29.26 MB / 1.194 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.36, allocations: 22.16 kB / 1.194 GB, free: 5.551 MB / 0.9512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 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.mat","/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