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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008679/0.0008678, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005138/0.005138, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.215/1.215, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.434/2.434, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 14.78 kB / 0.9029 GB, free: 36.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2492, allocations: 159.6 MB / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04568/0.2949, allocations: 48.45 MB / 1.106 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.3115, allocations: 12.57 MB / 1.118 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.3135, allocations: 71.5 kB / 1.118 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.3153, allocations: 0.6214 MB / 1.119 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004241/0.3195, allocations: 1.694 MB / 1.121 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.3224, allocations: 1.218 MB / 1.122 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00453/0.327, allocations: 4.367 MB / 1.126 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.3285, allocations: 1.031 MB / 1.127 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.3304, allocations: 1.077 MB / 1.128 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.3315, allocations: 0.89 MB / 1.129 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.3316, allocations: 48 kB / 1.129 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.3334, allocations: 1.029 MB / 1.13 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.3336, allocations: 230.8 kB / 1.13 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005421/0.3342, allocations: 0.6232 MB / 1.131 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.336, allocations: 1.873 MB / 1.133 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.336, allocations: 4 kB / 1.133 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.543e-06/0.336, allocations: 0 / 1.133 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.336, allocations: 0 / 1.133 GB, free: 8.738 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.002068/0.3381, allocations: 1.481 MB / 1.134 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3381, allocations: 11.97 kB / 1.134 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.3383, allocations: 135.4 kB / 1.134 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005259/0.3388, allocations: 223.1 kB / 1.135 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.3405, allocations: 1.088 MB / 1.136 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003645/0.3409, allocations: 138 kB / 1.136 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.341, allocations: 88 kB / 1.136 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.3427, allocations: 1 MB / 1.137 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.3427, allocations: 3.938 kB / 1.137 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.3428, allocations: 40 kB / 1.137 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.3428, allocations: 24 kB / 1.137 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.3443, allocations: 0.6908 MB / 1.138 GB, free: 3.641 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.005347/0.3497, allocations: 4.451 MB / 1.142 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.3509, allocations: 438.6 kB / 1.142 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/0.3515, allocations: 240.7 kB / 1.143 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008228/0.3523, allocations: 1.144 MB / 1.144 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.3524, allocations: 34.56 kB / 1.144 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 2.023e-06/0.3524, allocations: 0 / 1.144 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.002812/0.3552, allocations: 1.159 MB / 1.145 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.3552, allocations: 55.41 kB / 1.145 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.3563, allocations: 0.9318 MB / 1.146 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.3563, allocations: 33.7 kB / 1.146 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/0.3567, allocations: 0.5851 MB / 1.146 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.3568, allocations: 102.5 kB / 1.147 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.3569, allocations: 41.7 kB / 1.147 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.357, allocations: 329.9 kB / 1.147 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.3575, allocations: 213 kB / 1.147 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006572/0.3582, allocations: 402.8 kB / 1.147 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.3594, allocations: 0.6034 MB / 1.148 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3594, allocations: 4 kB / 1.148 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001548/0.3609, allocations: 0.7638 MB / 1.149 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.361, allocations: 4.719 kB / 1.149 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.361, allocations: 8 kB / 1.149 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.3616, allocations: 162.5 kB / 1.149 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.3622, allocations: 167.8 kB / 1.149 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.3632, allocations: 1.712 MB / 1.151 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006608/0.3639, allocations: 119.4 kB / 1.151 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.3639, allocations: 24 kB / 1.151 GB, free: 5.047 MB / 0.9044 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.0003364/0.3643, allocations: 265.9 kB / 1.151 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.3644, allocations: 114.6 kB / 1.151 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.3662, allocations: 0.77 MB / 1.152 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.3662, allocations: 11.92 kB / 1.152 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3662, allocations: 0 / 1.152 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3663, allocations: 4 kB / 1.152 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.3689, allocations: 1.675 MB / 1.154 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3689, allocations: 0 / 1.154 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004729/0.3694, allocations: 104.1 kB / 1.154 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/0.3699, allocations: 158.3 kB / 1.154 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.37, allocations: 8 kB / 1.154 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009476/0.3709, allocations: 1.719 MB / 1.156 GB, free: 36 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3709, allocations: 4.031 kB / 1.156 GB, free: 32 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.3725, allocations: 0.8229 MB / 1.156 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.3728, allocations: 239.6 kB / 1.157 GB, free: 14.91 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.65e-05/0.3729, allocations: 11.98 kB / 1.157 GB, free: 14.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/0.3735, allocations: 87.83 kB / 1.157 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.3736, allocations: 27.91 kB / 1.157 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.3736, allocations: 23.98 kB / 1.157 GB, free: 14.76 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007011/0.3743, allocations: 0.6342 MB / 1.157 GB, free: 14.12 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3743, allocations: 3.938 kB / 1.157 GB, free: 14.12 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008425/0.3752, allocations: 363.1 kB / 1.158 GB, free: 13.76 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.002354/0.3776, allocations: 1.653 MB / 1.159 GB, free: 12.06 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.379, allocations: 0.5717 MB / 1.16 GB, free: 11.49 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3791, allocations: 4 kB / 1.16 GB, free: 11.49 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007865/0.3798, allocations: 316.2 kB / 1.16 GB, free: 11.18 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/0.3823, allocations: 0.499 MB / 1.161 GB, free: 10.69 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.3931, allocations: 8.071 MB / 1.169 GB, free: 2.168 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.3937, allocations: 1.099 MB / 1.17 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005693/0.3943, allocations: 186.1 kB / 1.17 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/0.3947, allocations: 415.3 kB / 1.17 GB, free: 464 kB / 0.92 GB Notification: Performance of SimCode: time 3.7e-07/0.3947, allocations: 0 / 1.17 GB, free: 464 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.231/1.626, allocations: 27.27 MB / 1.197 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003813/1.626, allocations: 292.2 kB / 1.197 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/4.308, allocations: 8 kB / 1.197 GB, free: 5.27 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