Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_9_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.006859/0.006859, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001786/0.001786, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.344/2.344, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 60.02 kB / 0.9504 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.226, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.721/0.947, allocations: 222.6 MB / 1.305 GB, free: 2.934 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.962, allocations: 12.12 MB / 1.317 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/0.9648, allocations: 75.25 kB / 1.317 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.967, allocations: 0.8479 MB / 1.318 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007161/0.9742, allocations: 2.862 MB / 1.32 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.9775, allocations: 1.436 MB / 1.322 GB, free: 2.566 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005368/0.9829, allocations: 4.46 MB / 1.326 GB, free: 2.551 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.9853, allocations: 1.727 MB / 1.328 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005756/0.9911, allocations: 2.465 MB / 1.33 GB, free: 2.227 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/0.9941, allocations: 1.558 MB / 1.332 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003607/0.9945, allocations: 180.2 kB / 1.332 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004362/0.9989, allocations: 2.166 MB / 1.334 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006828/0.9996, allocations: 0.697 MB / 1.335 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/1.001, allocations: 1.053 MB / 1.336 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004906/1.006, allocations: 3.323 MB / 1.339 GB, free: 1.195 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.006, allocations: 0 / 1.339 GB, free: 1.195 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.894e-06/1.006, allocations: 5.719 kB / 1.339 GB, free: 1.195 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.647e-05/1.006, allocations: 1.062 kB / 1.339 GB, free: 1.195 MB / 1.014 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.00346/1.009, allocations: 2.283 MB / 1.341 GB, free: 116 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/1.009, allocations: 16.09 kB / 1.341 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/1.01, allocations: 211.8 kB / 1.341 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/1.013, allocations: 0.4954 MB / 1.342 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/1.015, allocations: 1.34 MB / 1.343 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.644e-05/1.015, allocations: 107.9 kB / 1.343 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/1.015, allocations: 151 kB / 1.344 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/1.018, allocations: 1.76 MB / 1.345 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/1.018, allocations: 6.281 kB / 1.345 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/1.018, allocations: 61.75 kB / 1.345 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/1.018, allocations: 52.59 kB / 1.345 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/1.02, allocations: 1.402 MB / 1.347 GB, free: 13.88 MB / 1.029 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.008022/1.028, allocations: 7.276 MB / 1.354 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/1.029, allocations: 1.054 MB / 1.355 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008389/1.03, allocations: 0.6972 MB / 1.356 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/1.031, allocations: 111.5 kB / 1.356 GB, free: 7.891 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/1.031, allocations: 61.09 kB / 1.356 GB, free: 7.832 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001151/1.032, allocations: 313.8 kB / 1.356 GB, free: 7.691 MB / 1.029 GB Notification: Performance of pre-optimization done (n=106): time 3.546e-06/1.032, allocations: 0 / 1.356 GB, free: 7.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=112): time 0.007234/1.039, allocations: 4.442 MB / 1.36 GB, free: 5.293 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/1.039, allocations: 167.9 kB / 1.361 GB, free: 5.105 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/1.04, allocations: 1.26 MB / 1.362 GB, free: 4.625 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.922e-05/1.041, allocations: 49.67 kB / 1.362 GB, free: 4.578 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/1.041, allocations: 0.7064 MB / 1.362 GB, free: 4.023 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/1.041, allocations: 401.7 kB / 1.363 GB, free: 3.719 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/1.042, allocations: 263.6 kB / 1.363 GB, free: 3.598 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.042, allocations: 360 kB / 1.363 GB, free: 3.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007213/1.043, allocations: 0.5255 MB / 1.364 GB, free: 3.078 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009222/1.043, allocations: 0.858 MB / 1.365 GB, free: 2.512 MB / 1.029 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.01045/1.054, allocations: 4.799 MB / 1.369 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.054, allocations: 2.094 kB / 1.369 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00247/1.056, allocations: 1.636 MB / 1.371 GB, free: 15.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.056, allocations: 9.406 kB / 1.371 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.056, allocations: 10.25 kB / 1.371 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.056, allocations: 17.5 kB / 1.371 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.058, allocations: 294.7 kB / 1.371 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/1.058, allocations: 17.53 kB / 1.371 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.059, allocations: 44.08 kB / 1.371 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.744e-05/1.059, allocations: 61.31 kB / 1.372 GB, free: 15.93 MB / 1.045 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.00069/1.06, allocations: 440.7 kB / 1.372 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/1.06, allocations: 161.9 kB / 1.372 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/1.062, allocations: 1.294 MB / 1.373 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/1.062, allocations: 13.72 kB / 1.373 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.062, allocations: 0 / 1.373 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001358/1.063, allocations: 1.248 MB / 1.375 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005087/1.068, allocations: 3.763 MB / 1.378 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/1.068, allocations: 11.69 kB / 1.378 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.069, allocations: 244.7 kB / 1.379 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/1.069, allocations: 19.78 kB / 1.379 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.4e-05/1.07, allocations: 36.66 kB / 1.379 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/1.07, allocations: 23.23 kB / 1.379 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.07, allocations: 15.66 kB / 1.379 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/1.072, allocations: 2.123 MB / 1.381 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006182/1.073, allocations: 360.9 kB / 1.381 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/1.073, allocations: 33.62 kB / 1.381 GB, free: 10.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.074, allocations: 45.78 kB / 1.381 GB, free: 10.22 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.074, allocations: 106.3 kB / 1.381 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.87e-05/1.074, allocations: 57.25 kB / 1.381 GB, free: 10.14 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009715/1.075, allocations: 0.856 MB / 1.382 GB, free: 9.68 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.7e-07/1.075, allocations: 3.938 kB / 1.382 GB, free: 9.676 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00129/1.076, allocations: 434.4 kB / 1.383 GB, free: 9.633 MB / 1.045 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.003129/1.079, allocations: 2.79 MB / 1.385 GB, free: 7.664 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001799/1.081, allocations: 1.252 MB / 1.386 GB, free: 7.125 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.081, allocations: 6.969 kB / 1.386 GB, free: 7.121 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006728/1.082, allocations: 0.5455 MB / 1.387 GB, free: 6.91 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003957/1.086, allocations: 0.9286 MB / 1.388 GB, free: 6.426 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/1.102, allocations: 12.66 MB / 1.4 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009024/1.103, allocations: 1.372 MB / 1.402 GB, free: 9.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001386/1.104, allocations: 385.3 kB / 1.402 GB, free: 9.527 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008268/1.105, allocations: 0.6438 MB / 1.403 GB, free: 8.883 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/1.105, allocations: 6.688 kB / 1.403 GB, free: 8.879 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.957/3.062, allocations: 43.25 MB / 1.445 GB, free: 14.2 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.13/26.19, allocations: 7.641 kB / 1.445 GB, free: 14.19 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches