Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.005165/0.005165, allocations: 99.89 kB / 15.73 MB, free: 6.016 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.001385/0.001385, allocations: 188 kB / 16.67 MB, free: 5.93 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.502/2.502, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 72.19 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2782, allocations: 162.3 MB / 1.242 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2192/0.4975, allocations: 222 MB / 1.459 GB, free: 10.04 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.5148, allocations: 13.78 MB / 1.472 GB, free: 12.23 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.5164, allocations: 67.62 kB / 1.472 GB, free: 12.16 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.5182, allocations: 0.8074 MB / 1.473 GB, free: 11.35 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004423/0.5226, allocations: 2.142 MB / 1.475 GB, free: 9.199 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.5252, allocations: 1.181 MB / 1.476 GB, free: 8.027 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003208/0.5284, allocations: 2.869 MB / 1.479 GB, free: 5.148 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.5299, allocations: 1.206 MB / 1.48 GB, free: 3.918 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005404/0.5353, allocations: 2.61 MB / 1.483 GB, free: 1.305 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.5372, allocations: 1.004 MB / 1.484 GB, free: 320 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.5374, allocations: 100 kB / 1.484 GB, free: 220 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.5401, allocations: 1.567 MB / 1.485 GB, free: 14.64 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.5405, allocations: 430.6 kB / 1.486 GB, free: 14.22 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00069/0.5412, allocations: 0.6918 MB / 1.486 GB, free: 13.53 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.5437, allocations: 2.082 MB / 1.488 GB, free: 11.44 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5437, allocations: 0 / 1.488 GB, free: 11.44 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5437, allocations: 0 / 1.488 GB, free: 11.44 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.5437, allocations: 0 / 1.488 GB, free: 11.44 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002299/0.546, allocations: 1.699 MB / 1.49 GB, free: 9.68 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.5461, allocations: 8.031 kB / 1.49 GB, free: 9.672 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.5462, allocations: 143.6 kB / 1.49 GB, free: 9.523 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.5483, allocations: 434.7 kB / 1.491 GB, free: 9.098 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.5496, allocations: 0.9608 MB / 1.492 GB, free: 8.094 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.5497, allocations: 70 kB / 1.492 GB, free: 8.027 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.5498, allocations: 88 kB / 1.492 GB, free: 7.941 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.5518, allocations: 1.223 MB / 1.493 GB, free: 6.598 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.5518, allocations: 7.938 kB / 1.493 GB, free: 6.59 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.5519, allocations: 36 kB / 1.493 GB, free: 6.555 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-05/0.5519, allocations: 37.3 kB / 1.493 GB, free: 6.52 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.5538, allocations: 0.8713 MB / 1.494 GB, free: 5.648 MB / 1.217 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.006601/0.5604, allocations: 6.288 MB / 1.5 GB, free: 15.02 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.5608, allocations: 259.7 kB / 1.5 GB, free: 14.71 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.561, allocations: 141.1 kB / 1.5 GB, free: 14.55 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.5612, allocations: 97.03 kB / 1.501 GB, free: 14.44 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.5612, allocations: 42.56 kB / 1.501 GB, free: 14.39 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005746/0.5618, allocations: 115.3 kB / 1.501 GB, free: 14.28 MB / 1.232 GB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/0.5618, allocations: 0 / 1.501 GB, free: 14.28 MB / 1.232 GB Notification: Performance of matching and sorting (n=20): time 0.001104/0.5629, allocations: 488.6 kB / 1.501 GB, free: 13.79 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.563, allocations: 183.9 kB / 1.501 GB, free: 13.57 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.5648, allocations: 1.312 MB / 1.503 GB, free: 12.24 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.5649, allocations: 29.7 kB / 1.503 GB, free: 12.21 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.5653, allocations: 0.6373 MB / 1.503 GB, free: 11.57 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.5654, allocations: 83.36 kB / 1.503 GB, free: 11.48 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.5656, allocations: 134.1 kB / 1.503 GB, free: 11.35 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5658, allocations: 337.9 kB / 1.504 GB, free: 11.01 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/0.5664, allocations: 228.9 kB / 1.504 GB, free: 10.79 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008583/0.5672, allocations: 0.5558 MB / 1.505 GB, free: 10.09 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.5683, allocations: 0.698 MB / 1.505 GB, free: 9.246 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.5684, allocations: 4 kB / 1.505 GB, free: 9.242 MB / 1.232 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001751/0.5701, allocations: 0.8612 MB / 1.506 GB, free: 8.375 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.5701, allocations: 8 kB / 1.506 GB, free: 8.367 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5702, allocations: 12 kB / 1.506 GB, free: 8.355 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.5702, allocations: 12 kB / 1.506 GB, free: 8.344 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.5708, allocations: 176.2 kB / 1.506 GB, free: 8.172 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.5709, allocations: 19.92 kB / 1.506 GB, free: 8.152 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.572, allocations: 131.8 kB / 1.506 GB, free: 8.023 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-05/0.572, allocations: 43.98 kB / 1.506 GB, free: 7.98 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * Single equations (assignments): 69 * 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.0003384/0.5724, allocations: 297.5 kB / 1.507 GB, free: 7.68 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.5726, allocations: 127.2 kB / 1.507 GB, free: 7.555 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.573, allocations: 280.4 kB / 1.507 GB, free: 7.273 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.5731, allocations: 4 kB / 1.507 GB, free: 7.27 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5731, allocations: 4 kB / 1.507 GB, free: 7.266 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.5731, allocations: 7.922 kB / 1.507 GB, free: 7.258 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.575, allocations: 1.674 MB / 1.509 GB, free: 5.48 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5751, allocations: 4.375 kB / 1.509 GB, free: 5.477 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.5753, allocations: 39.92 kB / 1.509 GB, free: 5.438 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.5753, allocations: 4 kB / 1.509 GB, free: 5.434 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.5753, allocations: 12 kB / 1.509 GB, free: 5.422 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5753, allocations: 4 kB / 1.509 GB, free: 5.418 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5753, allocations: 3.938 kB / 1.509 GB, free: 5.414 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.5758, allocations: 0.5013 MB / 1.509 GB, free: 4.859 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.5762, allocations: 244.2 kB / 1.51 GB, free: 4.602 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.5763, allocations: 4 kB / 1.51 GB, free: 4.598 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.577, allocations: 47.94 kB / 1.51 GB, free: 4.551 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.577, allocations: 27.86 kB / 1.51 GB, free: 4.523 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.577, allocations: 8 kB / 1.51 GB, free: 4.516 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001353/0.5784, allocations: 0.912 MB / 1.511 GB, free: 3.602 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5784, allocations: 0 / 1.511 GB, free: 3.602 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007461/0.5792, allocations: 283.6 kB / 1.511 GB, free: 3.324 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (20): * Single equations (assignments): 20 * 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.001089/0.5803, allocations: 1.145 MB / 1.512 GB, free: 2.129 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009448/0.5812, allocations: 457.8 kB / 1.512 GB, free: 1.684 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5812, allocations: 4.062 kB / 1.512 GB, free: 1.68 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.5814, allocations: 99.97 kB / 1.512 GB, free: 1.582 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.5837, allocations: 0.5841 MB / 1.513 GB, free: 1.004 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.5947, allocations: 8.135 MB / 1.521 GB, free: 8.387 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.5954, allocations: 1.118 MB / 1.522 GB, free: 7.238 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006627/0.5961, allocations: 241.6 kB / 1.522 GB, free: 7 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004867/0.5966, allocations: 411.3 kB / 1.523 GB, free: 6.598 MB / 1.248 GB Notification: Performance of SimCode: time 2.41e-07/0.5966, allocations: 0 / 1.523 GB, free: 6.598 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.547/4.144, allocations: 27.54 MB / 1.55 GB, free: 304.1 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.06/23.2, allocations: 9.266 kB / 1.55 GB, free: 304.1 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches