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.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001143/0.001143, allocations: 193.3 kB / 16.14 MB, free: 6.652 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.605/2.605, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 71.59 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2413, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04069/0.282, allocations: 49.47 MB / 1.101 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.2974, allocations: 12.71 MB / 1.113 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.2993, allocations: 71.56 kB / 1.113 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.3011, allocations: 0.6252 MB / 1.114 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.3049, allocations: 1.694 MB / 1.115 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.3078, allocations: 1.204 MB / 1.116 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004177/0.312, allocations: 4.372 MB / 1.121 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.3135, allocations: 1.074 MB / 1.122 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.3156, allocations: 1.124 MB / 1.123 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.317, allocations: 0.9563 MB / 1.124 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.3172, allocations: 60 kB / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.3192, allocations: 1.056 MB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.3195, allocations: 246.8 kB / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007487/0.3203, allocations: 0.641 MB / 1.126 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.3225, allocations: 1.916 MB / 1.128 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3225, allocations: 3.938 kB / 1.128 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3225, allocations: 0 / 1.128 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.768e-05/0.3226, allocations: 4 kB / 1.128 GB, free: 10.72 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.002517/0.3251, allocations: 1.689 MB / 1.129 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3251, allocations: 15.97 kB / 1.129 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.3253, allocations: 135.4 kB / 1.129 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006155/0.3259, allocations: 207.1 kB / 1.13 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.3277, allocations: 1.088 MB / 1.131 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003413/0.328, allocations: 130 kB / 1.131 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.697e-05/0.3281, allocations: 84 kB / 1.131 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.3297, allocations: 0.9845 MB / 1.132 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.3297, allocations: 3.938 kB / 1.132 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.3298, allocations: 32 kB / 1.132 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.3298, allocations: 24 kB / 1.132 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.3312, allocations: 0.6517 MB / 1.133 GB, free: 5.496 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.004193/0.3354, allocations: 4.415 MB / 1.137 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.3366, allocations: 412.6 kB / 1.137 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.3371, allocations: 224.7 kB / 1.137 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007445/0.3379, allocations: 1.14 MB / 1.139 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3379, allocations: 46.48 kB / 1.139 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 1.663e-06/0.3379, allocations: 0 / 1.139 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.002733/0.3406, allocations: 1.093 MB / 1.14 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.3407, allocations: 51.41 kB / 1.14 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009447/0.3416, allocations: 0.9318 MB / 1.141 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.3417, allocations: 33.7 kB / 1.141 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/0.342, allocations: 0.5851 MB / 1.141 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.3421, allocations: 106.5 kB / 1.141 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.3423, allocations: 110.1 kB / 1.141 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.3424, allocations: 322 kB / 1.142 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.3429, allocations: 197 kB / 1.142 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.3436, allocations: 390.8 kB / 1.142 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.3447, allocations: 0.5683 MB / 1.143 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3447, allocations: 0 / 1.143 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001505/0.3462, allocations: 0.7364 MB / 1.144 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3462, allocations: 4 kB / 1.144 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3462, allocations: 8.062 kB / 1.144 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/0.3469, allocations: 159.1 kB / 1.144 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.3474, allocations: 143.8 kB / 1.144 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009501/0.3484, allocations: 1.724 MB / 1.146 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/0.349, allocations: 103.4 kB / 1.146 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.3491, allocations: 31.98 kB / 1.146 GB, free: 7.105 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.0003165/0.3494, allocations: 261.7 kB / 1.146 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3496, allocations: 114.6 kB / 1.146 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.3513, allocations: 0.7307 MB / 1.147 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.3513, allocations: 7.938 kB / 1.147 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3513, allocations: 0 / 1.147 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.3513, allocations: 3.984 kB / 1.147 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/0.3539, allocations: 1.644 MB / 1.148 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.3539, allocations: 4 kB / 1.148 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.3544, allocations: 92.02 kB / 1.148 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000532/0.3549, allocations: 150.4 kB / 1.149 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.355, allocations: 15.98 kB / 1.149 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008852/0.3558, allocations: 1.704 MB / 1.15 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3559, allocations: 3.938 kB / 1.15 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.3573, allocations: 0.78 MB / 1.151 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.3576, allocations: 247.5 kB / 1.151 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3577, allocations: 8 kB / 1.151 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.3583, allocations: 67.92 kB / 1.151 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.3584, allocations: 31.89 kB / 1.151 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.3584, allocations: 19.98 kB / 1.151 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006753/0.3591, allocations: 0.6342 MB / 1.152 GB, free: 340 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1.453e-06/0.3591, allocations: 4 kB / 1.152 GB, free: 336 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008275/0.36, allocations: 367.1 kB / 1.152 GB, free: 15.96 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.002291/0.3622, allocations: 1.621 MB / 1.154 GB, free: 14.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.3636, allocations: 0.5323 MB / 1.154 GB, free: 13.77 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3637, allocations: 0 / 1.154 GB, free: 13.77 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007569/0.3644, allocations: 300 kB / 1.155 GB, free: 13.48 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.3665, allocations: 0.4985 MB / 1.155 GB, free: 12.98 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.3772, allocations: 7.941 MB / 1.163 GB, free: 4.594 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.3778, allocations: 1.103 MB / 1.164 GB, free: 3.461 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006316/0.3784, allocations: 177.1 kB / 1.164 GB, free: 3.285 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.3789, allocations: 419.3 kB / 1.165 GB, free: 2.875 MB / 0.92 GB Notification: Performance of SimCode: time 3.21e-07/0.3789, allocations: 0 / 1.165 GB, free: 2.875 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.499/1.878, allocations: 27.51 MB / 1.192 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002976/1.879, allocations: 286 kB / 1.192 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.935, allocations: 0 / 1.192 GB, free: 7.453 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