Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_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.0079/0.0079, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001917/0.001917, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.537/2.537, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 71.98 kB / 1.054 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8763/0.8777, allocations: 157.4 MB / 1.207 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.241/1.119, allocations: 222.6 MB / 1.425 GB, free: 14.26 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01722/1.136, allocations: 12.11 MB / 1.437 GB, free: 2.109 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002723/1.139, allocations: 71.62 kB / 1.437 GB, free: 2.039 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002813/1.142, allocations: 0.8654 MB / 1.437 GB, free: 1.168 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008558/1.15, allocations: 2.857 MB / 1.44 GB, free: 14.3 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/1.154, allocations: 1.437 MB / 1.442 GB, free: 12.87 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006339/1.161, allocations: 4.462 MB / 1.446 GB, free: 8.398 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002483/1.163, allocations: 1.709 MB / 1.448 GB, free: 6.652 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005625/1.169, allocations: 2.501 MB / 1.45 GB, free: 4.148 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/1.172, allocations: 1.558 MB / 1.452 GB, free: 2.602 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003184/1.172, allocations: 176 kB / 1.452 GB, free: 2.43 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/1.176, allocations: 2.179 MB / 1.454 GB, free: 252 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007388/1.177, allocations: 0.7012 MB / 1.455 GB, free: 15.54 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001255/1.178, allocations: 1.042 MB / 1.456 GB, free: 14.5 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004438/1.183, allocations: 3.33 MB / 1.459 GB, free: 11.16 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/1.183, allocations: 0 / 1.459 GB, free: 11.16 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.343e-06/1.183, allocations: 0 / 1.459 GB, free: 11.16 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.838e-05/1.183, allocations: 0 / 1.459 GB, free: 11.16 MB / 1.186 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.003606/1.186, allocations: 2.281 MB / 1.461 GB, free: 8.816 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.186, allocations: 8.031 kB / 1.461 GB, free: 8.809 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002352/1.187, allocations: 206.8 kB / 1.461 GB, free: 8.598 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/1.19, allocations: 0.5051 MB / 1.462 GB, free: 8.09 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/1.192, allocations: 1.337 MB / 1.463 GB, free: 6.695 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.472e-05/1.192, allocations: 110.8 kB / 1.463 GB, free: 6.586 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/1.192, allocations: 155.8 kB / 1.463 GB, free: 6.434 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/1.195, allocations: 1.76 MB / 1.465 GB, free: 4.562 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/1.195, allocations: 4 kB / 1.465 GB, free: 4.559 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/1.195, allocations: 60 kB / 1.465 GB, free: 4.5 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/1.195, allocations: 54.53 kB / 1.465 GB, free: 4.445 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/1.197, allocations: 1.399 MB / 1.467 GB, free: 3.039 MB / 1.186 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.008098/1.205, allocations: 7.3 MB / 1.474 GB, free: 11.36 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/1.207, allocations: 1.048 MB / 1.475 GB, free: 10.26 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009053/1.207, allocations: 0.6944 MB / 1.475 GB, free: 9.555 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/1.208, allocations: 118.1 kB / 1.475 GB, free: 9.422 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.208, allocations: 43.56 kB / 1.476 GB, free: 9.371 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001074/1.209, allocations: 310.7 kB / 1.476 GB, free: 9.066 MB / 1.201 GB Notification: Performance of pre-optimization done (n=106): time 3.286e-06/1.209, allocations: 0 / 1.476 GB, free: 9.066 MB / 1.201 GB Notification: Performance of matching and sorting (n=112): time 0.00769/1.217, allocations: 4.44 MB / 1.48 GB, free: 4.547 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/1.217, allocations: 175.3 kB / 1.48 GB, free: 4.34 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/1.218, allocations: 1.259 MB / 1.482 GB, free: 3.07 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-05/1.218, allocations: 53.7 kB / 1.482 GB, free: 3.012 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/1.219, allocations: 0.7007 MB / 1.482 GB, free: 2.305 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/1.219, allocations: 402.2 kB / 1.483 GB, free: 1.906 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003982/1.22, allocations: 263.4 kB / 1.483 GB, free: 1.645 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.22, allocations: 353.9 kB / 1.483 GB, free: 1.293 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008002/1.221, allocations: 0.527 MB / 1.484 GB, free: 0.7656 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.222, allocations: 0.8518 MB / 1.485 GB, free: 15.79 MB / 1.217 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.01155/1.233, allocations: 4.803 MB / 1.489 GB, free: 10.82 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.233, allocations: 0 / 1.489 GB, free: 10.82 MB / 1.217 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002583/1.236, allocations: 1.624 MB / 1.491 GB, free: 9.191 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/1.236, allocations: 8 kB / 1.491 GB, free: 9.184 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.236, allocations: 8 kB / 1.491 GB, free: 9.176 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/1.236, allocations: 16 kB / 1.491 GB, free: 9.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.237, allocations: 287.5 kB / 1.491 GB, free: 8.879 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/1.237, allocations: 23.88 kB / 1.491 GB, free: 8.855 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.238, allocations: 54.61 kB / 1.491 GB, free: 8.805 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/1.239, allocations: 63.97 kB / 1.491 GB, free: 8.742 MB / 1.217 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.000699/1.239, allocations: 425.3 kB / 1.492 GB, free: 8.316 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/1.24, allocations: 158.1 kB / 1.492 GB, free: 8.16 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/1.242, allocations: 1.291 MB / 1.493 GB, free: 6.852 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/1.242, allocations: 12 kB / 1.493 GB, free: 6.84 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.242, allocations: 11.94 kB / 1.493 GB, free: 6.828 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001533/1.243, allocations: 1.241 MB / 1.494 GB, free: 5.523 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/1.249, allocations: 3.762 MB / 1.498 GB, free: 1.559 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.249, allocations: 11.98 kB / 1.498 GB, free: 1.547 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/1.25, allocations: 247.6 kB / 1.498 GB, free: 1.305 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.549e-05/1.25, allocations: 15.94 kB / 1.498 GB, free: 1.289 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.972e-05/1.25, allocations: 39.98 kB / 1.498 GB, free: 1.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.587e-05/1.25, allocations: 19.94 kB / 1.498 GB, free: 1.23 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.25, allocations: 15.94 kB / 1.498 GB, free: 1.215 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/1.253, allocations: 2.121 MB / 1.5 GB, free: 14.94 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/1.254, allocations: 355 kB / 1.501 GB, free: 14.57 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/1.254, allocations: 47.92 kB / 1.501 GB, free: 14.53 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.255, allocations: 44.77 kB / 1.501 GB, free: 14.48 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/1.255, allocations: 104.3 kB / 1.501 GB, free: 14.38 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-05/1.255, allocations: 51.92 kB / 1.501 GB, free: 14.33 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001164/1.256, allocations: 0.8529 MB / 1.502 GB, free: 13.48 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.8e-07/1.256, allocations: 0 / 1.502 GB, free: 13.48 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001396/1.258, allocations: 436 kB / 1.502 GB, free: 13.05 MB / 1.232 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.003453/1.261, allocations: 2.813 MB / 1.505 GB, free: 10.09 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002028/1.263, allocations: 1.25 MB / 1.506 GB, free: 8.84 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/1.263, allocations: 4 kB / 1.506 GB, free: 8.836 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0007412/1.264, allocations: 0.5487 MB / 1.507 GB, free: 8.293 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/1.268, allocations: 0.9303 MB / 1.508 GB, free: 7.379 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.286, allocations: 12.66 MB / 1.52 GB, free: 10.04 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/1.287, allocations: 1.376 MB / 1.521 GB, free: 8.629 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001424/1.288, allocations: 389.3 kB / 1.522 GB, free: 8.242 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009216/1.289, allocations: 0.6438 MB / 1.522 GB, free: 7.602 MB / 1.248 GB Notification: Performance of SimCode: time 8.02e-07/1.289, allocations: 0 / 1.522 GB, free: 7.602 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8014/2.091, allocations: 44.02 MB / 1.565 GB, free: 115.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/18.24, allocations: 3.5 kB / 1.565 GB, free: 115.2 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches