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 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.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.006476/0.006476, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001319/0.00132, allocations: 193.3 kB / 16.67 MB, free: 5.977 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.00132, allocations: 71.81 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3434, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 1.028/1.372, allocations: 221.9 MB / 1.424 GB, free: 5.941 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02105/1.393, allocations: 13.76 MB / 1.437 GB, free: 10.75 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003318/1.396, allocations: 62 kB / 1.437 GB, free: 10.73 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002733/1.399, allocations: 0.8091 MB / 1.438 GB, free: 10.04 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.007015/1.406, allocations: 2.166 MB / 1.44 GB, free: 8.363 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003749/1.41, allocations: 1.194 MB / 1.442 GB, free: 7.234 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004799/1.415, allocations: 2.879 MB / 1.444 GB, free: 4.348 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/1.417, allocations: 1.203 MB / 1.446 GB, free: 3.125 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007343/1.424, allocations: 2.453 MB / 1.448 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/1.427, allocations: 1.027 MB / 1.449 GB, free: 15.66 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004302/1.427, allocations: 100 kB / 1.449 GB, free: 15.57 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/1.431, allocations: 1.586 MB / 1.451 GB, free: 13.98 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006739/1.432, allocations: 434.6 kB / 1.451 GB, free: 13.55 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001403/1.433, allocations: 0.6762 MB / 1.452 GB, free: 12.87 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004484/1.438, allocations: 2.072 MB / 1.454 GB, free: 10.79 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.438, allocations: 0 / 1.454 GB, free: 10.79 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.954e-06/1.438, allocations: 0 / 1.454 GB, free: 10.79 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.631e-05/1.438, allocations: 0 / 1.454 GB, free: 10.79 MB / 1.139 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.00333/1.441, allocations: 1.647 MB / 1.455 GB, free: 9.094 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.441, allocations: 12.62 kB / 1.455 GB, free: 9.082 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002592/1.441, allocations: 143.6 kB / 1.455 GB, free: 8.934 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/1.444, allocations: 429.8 kB / 1.456 GB, free: 8.512 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/1.446, allocations: 0.9481 MB / 1.457 GB, free: 7.52 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/1.446, allocations: 70 kB / 1.457 GB, free: 7.449 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/1.446, allocations: 84 kB / 1.457 GB, free: 7.367 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/1.448, allocations: 1.227 MB / 1.458 GB, free: 6.023 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/1.448, allocations: 3.938 kB / 1.458 GB, free: 6.02 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.442e-05/1.448, allocations: 40 kB / 1.458 GB, free: 5.98 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/1.448, allocations: 37.31 kB / 1.458 GB, free: 5.945 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/1.45, allocations: 0.8757 MB / 1.459 GB, free: 5.07 MB / 1.139 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.007058/1.457, allocations: 6.035 MB / 1.465 GB, free: 14.75 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/1.458, allocations: 259.7 kB / 1.465 GB, free: 14.44 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/1.458, allocations: 141.1 kB / 1.465 GB, free: 14.28 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/1.458, allocations: 105.1 kB / 1.465 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/1.458, allocations: 38.5 kB / 1.465 GB, free: 14.11 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007218/1.459, allocations: 123.1 kB / 1.466 GB, free: 13.99 MB / 1.154 GB Notification: Performance of pre-optimization done (n=20): time 4.128e-06/1.459, allocations: 0 / 1.466 GB, free: 13.99 MB / 1.154 GB Notification: Performance of matching and sorting (n=20): time 0.001268/1.46, allocations: 479.9 kB / 1.466 GB, free: 13.52 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/1.46, allocations: 184.4 kB / 1.466 GB, free: 13.29 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/1.462, allocations: 1.299 MB / 1.467 GB, free: 11.98 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/1.462, allocations: 33.7 kB / 1.468 GB, free: 11.94 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/1.463, allocations: 0.6165 MB / 1.468 GB, free: 11.31 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/1.463, allocations: 78.94 kB / 1.468 GB, free: 11.23 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/1.463, allocations: 141.9 kB / 1.468 GB, free: 11.09 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.463, allocations: 333.9 kB / 1.469 GB, free: 10.76 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/1.464, allocations: 240.9 kB / 1.469 GB, free: 10.52 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008141/1.464, allocations: 0.5558 MB / 1.469 GB, free: 9.82 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/1.466, allocations: 0.6883 MB / 1.47 GB, free: 8.992 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.466, allocations: 0 / 1.47 GB, free: 8.992 MB / 1.154 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001838/1.467, allocations: 0.8606 MB / 1.471 GB, free: 8.125 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/1.467, allocations: 12 kB / 1.471 GB, free: 8.113 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/1.467, allocations: 8.875 kB / 1.471 GB, free: 8.105 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/1.467, allocations: 16 kB / 1.471 GB, free: 8.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/1.468, allocations: 171.7 kB / 1.471 GB, free: 7.922 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/1.468, allocations: 20.48 kB / 1.471 GB, free: 7.902 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/1.47, allocations: 132.5 kB / 1.471 GB, free: 7.773 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/1.47, allocations: 35.98 kB / 1.471 GB, free: 7.738 MB / 1.154 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.0004272/1.47, allocations: 293.5 kB / 1.472 GB, free: 7.441 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/1.47, allocations: 122.6 kB / 1.472 GB, free: 7.32 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004917/1.471, allocations: 292.2 kB / 1.472 GB, free: 7.027 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.471, allocations: 1.125 kB / 1.472 GB, free: 7.027 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.471, allocations: 4 kB / 1.472 GB, free: 7.023 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/1.471, allocations: 7.922 kB / 1.472 GB, free: 7.016 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/1.473, allocations: 1.682 MB / 1.474 GB, free: 5.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.473, allocations: 7.938 kB / 1.474 GB, free: 5.223 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/1.473, allocations: 39.92 kB / 1.474 GB, free: 5.184 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/1.473, allocations: 4 kB / 1.474 GB, free: 5.18 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/1.473, allocations: 8 kB / 1.474 GB, free: 5.172 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/1.473, allocations: 8 kB / 1.474 GB, free: 5.164 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.473, allocations: 7.984 kB / 1.474 GB, free: 5.156 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/1.474, allocations: 494.5 kB / 1.474 GB, free: 4.617 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004057/1.474, allocations: 239.5 kB / 1.474 GB, free: 4.363 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/1.475, allocations: 8 kB / 1.474 GB, free: 4.355 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000716/1.475, allocations: 51.94 kB / 1.474 GB, free: 4.305 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/1.475, allocations: 19.86 kB / 1.474 GB, free: 4.285 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/1.475, allocations: 12 kB / 1.475 GB, free: 4.273 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001467/1.477, allocations: 0.912 MB / 1.475 GB, free: 3.359 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.6e-07/1.477, allocations: 4 kB / 1.475 GB, free: 3.355 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009628/1.478, allocations: 279.5 kB / 1.476 GB, free: 3.082 MB / 1.154 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.001194/1.479, allocations: 1.127 MB / 1.477 GB, free: 1.902 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00105/1.48, allocations: 453.2 kB / 1.477 GB, free: 1.461 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.48, allocations: 0 / 1.477 GB, free: 1.461 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/1.48, allocations: 113.2 kB / 1.477 GB, free: 1.352 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/1.483, allocations: 0.5816 MB / 1.478 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/1.496, allocations: 8.106 MB / 1.486 GB, free: 8.199 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009103/1.497, allocations: 1.118 MB / 1.487 GB, free: 7.051 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001053/1.498, allocations: 225.6 kB / 1.487 GB, free: 6.828 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/1.498, allocations: 415.3 kB / 1.487 GB, free: 6.422 MB / 1.17 GB Notification: Performance of SimCode: time 9.92e-07/1.498, allocations: 0 / 1.487 GB, free: 6.422 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05799/1.556, allocations: 28.03 MB / 1.515 GB, free: 10.85 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.827/11.38, allocations: 18.7 kB / 1.515 GB, free: 10.84 MB / 1.201 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=50 --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