Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.001132/0.001132, 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.001319/0.001319, allocations: 194.7 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.201/1.201, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.307/2.307, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001458, allocations: 63.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5117, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2077/0.7194, allocations: 222.6 MB / 1.235 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01677/0.7362, allocations: 12.12 MB / 1.247 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.7382, allocations: 75.56 kB / 1.247 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.7401, allocations: 0.8577 MB / 1.248 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005919/0.746, allocations: 2.87 MB / 1.25 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.7489, allocations: 1.414 MB / 1.252 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.4972/1.246, allocations: 4.438 MB / 1.256 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003373/1.249, allocations: 1.715 MB / 1.258 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006572/1.256, allocations: 2.459 MB / 1.26 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/1.26, allocations: 1.551 MB / 1.262 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006124/1.261, allocations: 179.7 kB / 1.262 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005721/1.266, allocations: 2.166 MB / 1.264 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001195/1.268, allocations: 0.7058 MB / 1.265 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002305/1.27, allocations: 1.052 MB / 1.266 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008565/1.278, allocations: 3.271 MB / 1.269 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.279, allocations: 0 / 1.269 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.452e-06/1.279, allocations: 1.062 kB / 1.269 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.439e-05/1.279, allocations: 0 / 1.269 GB, free: 4.617 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.005356/1.284, allocations: 2.281 MB / 1.271 GB, free: 19.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/1.284, allocations: 10.19 kB / 1.271 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003169/1.284, allocations: 208.3 kB / 1.271 GB, free: 19.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/1.288, allocations: 0.4963 MB / 1.272 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/1.29, allocations: 1.254 MB / 1.273 GB, free: 18.99 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/1.29, allocations: 111.9 kB / 1.273 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/1.29, allocations: 147.1 kB / 1.273 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/1.293, allocations: 1.762 MB / 1.275 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/1.293, allocations: 10.11 kB / 1.275 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/1.293, allocations: 66.7 kB / 1.275 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.782e-05/1.293, allocations: 57.75 kB / 1.275 GB, free: 18.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/1.295, allocations: 1.401 MB / 1.276 GB, free: 18.65 MB / 1.014 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.008528/1.304, allocations: 7.33 MB / 1.284 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/1.305, allocations: 1.062 MB / 1.285 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/1.306, allocations: 0.688 MB / 1.285 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/1.306, allocations: 116.5 kB / 1.285 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/1.307, allocations: 56.28 kB / 1.285 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00127/1.308, allocations: 304.4 kB / 1.286 GB, free: 14.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 4.008e-06/1.308, allocations: 0.6875 kB / 1.286 GB, free: 14.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=112): time 0.007641/1.315, allocations: 4.439 MB / 1.29 GB, free: 13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.582e-05/1.316, allocations: 172.8 kB / 1.29 GB, free: 12.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/1.317, allocations: 1.262 MB / 1.291 GB, free: 12.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/1.317, allocations: 48.67 kB / 1.292 GB, free: 12.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/1.318, allocations: 0.7015 MB / 1.292 GB, free: 12.36 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/1.318, allocations: 405 kB / 1.293 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/1.318, allocations: 264.5 kB / 1.293 GB, free: 12.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.318, allocations: 358.6 kB / 1.293 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007286/1.319, allocations: 0.5278 MB / 1.294 GB, free: 11.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/1.32, allocations: 0.8546 MB / 1.295 GB, free: 11.44 MB / 1.014 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/1.331, allocations: 4.806 MB / 1.299 GB, free: 10.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/1.331, allocations: 2.438 kB / 1.299 GB, free: 10.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00248/1.333, allocations: 1.616 MB / 1.301 GB, free: 10.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.333, allocations: 10.75 kB / 1.301 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.333, allocations: 6.844 kB / 1.301 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/1.333, allocations: 20.58 kB / 1.301 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.334, allocations: 290.4 kB / 1.301 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/1.334, allocations: 19.7 kB / 1.301 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/1.336, allocations: 47.64 kB / 1.301 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.336, allocations: 63.22 kB / 1.301 GB, free: 10.66 MB / 1.014 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008566/1.337, allocations: 426.1 kB / 1.302 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/1.337, allocations: 171.1 kB / 1.302 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/1.339, allocations: 1.291 MB / 1.303 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.339, allocations: 14.09 kB / 1.303 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.339, allocations: 0 / 1.303 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/1.341, allocations: 1.239 MB / 1.304 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/1.346, allocations: 3.771 MB / 1.308 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.346, allocations: 12.19 kB / 1.308 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/1.347, allocations: 248.8 kB / 1.308 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/1.347, allocations: 13.69 kB / 1.308 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.478e-05/1.347, allocations: 43.91 kB / 1.308 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.319e-05/1.347, allocations: 19.44 kB / 1.308 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.347, allocations: 15.25 kB / 1.308 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/1.35, allocations: 2.129 MB / 1.31 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007475/1.351, allocations: 356.4 kB / 1.311 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/1.351, allocations: 39.03 kB / 1.311 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/1.352, allocations: 50.08 kB / 1.311 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.352, allocations: 103.6 kB / 1.311 GB, free: 8.203 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/1.352, allocations: 55.39 kB / 1.311 GB, free: 8.203 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001099/1.353, allocations: 0.8506 MB / 1.312 GB, free: 8.094 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.91e-07/1.353, allocations: 0.9062 kB / 1.312 GB, free: 8.094 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001554/1.355, allocations: 432.5 kB / 1.312 GB, free: 8.09 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003397/1.358, allocations: 2.808 MB / 1.315 GB, free: 6.926 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002572/1.361, allocations: 1.431 MB / 1.316 GB, free: 6.895 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.361, allocations: 3.406 kB / 1.316 GB, free: 6.895 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006825/1.362, allocations: 0.5446 MB / 1.317 GB, free: 6.887 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004696/1.366, allocations: 0.9355 MB / 1.318 GB, free: 6.758 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/1.384, allocations: 13.76 MB / 1.331 GB, free: 1.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.385, allocations: 1.374 MB / 1.333 GB, free: 292 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001725/1.387, allocations: 383.7 kB / 1.333 GB, free: 208 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000797/1.388, allocations: 0.6431 MB / 1.334 GB, free: 200 kB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/1.388, allocations: 0 / 1.334 GB, free: 200 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.23/4.618, allocations: 42.94 MB / 1.376 GB, free: 5.305 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/18.91, allocations: 17.83 kB / 1.376 GB, free: 5.289 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches