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.001349/0.001349, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001336/0.001336, allocations: 192 kB / 16.25 MB, free: 6.637 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 / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 461.9 MB / 0.7344 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 62.69 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3315, allocations: 157.4 MB / 1.052 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.7882/1.12, allocations: 219.1 MB / 1.266 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01711/1.137, allocations: 13.66 MB / 1.28 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/1.139, allocations: 58.72 kB / 1.28 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00237/1.142, allocations: 0.7091 MB / 1.28 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006144/1.148, allocations: 2.025 MB / 1.282 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003434/1.151, allocations: 1.066 MB / 1.283 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005241/1.157, allocations: 2.874 MB / 1.286 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/1.159, allocations: 1.166 MB / 1.287 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006628/1.166, allocations: 2.413 MB / 1.29 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00329/1.169, allocations: 1.088 MB / 1.291 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004395/1.169, allocations: 101.5 kB / 1.291 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003778/1.173, allocations: 1.669 MB / 1.293 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008141/1.174, allocations: 439.5 kB / 1.293 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001843/1.176, allocations: 0.686 MB / 1.294 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003999/1.18, allocations: 2.145 MB / 1.296 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.18, allocations: 0 / 1.296 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/1.18, allocations: 0.8438 kB / 1.296 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.509e-05/1.18, allocations: 0 / 1.296 GB, free: 1.742 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.003818/1.184, allocations: 1.652 MB / 1.297 GB, free: 16.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.184, allocations: 10.88 kB / 1.297 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002496/1.184, allocations: 144.4 kB / 1.298 GB, free: 16.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/1.187, allocations: 427.2 kB / 1.298 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/1.188, allocations: 0.895 MB / 1.299 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009159/1.189, allocations: 239 kB / 1.299 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/1.189, allocations: 96.03 kB / 1.299 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/1.192, allocations: 1.206 MB / 1.3 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/1.192, allocations: 3.531 kB / 1.3 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.369e-05/1.192, allocations: 41.12 kB / 1.3 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/1.192, allocations: 35.84 kB / 1.3 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/1.194, allocations: 0.8989 MB / 1.301 GB, free: 16.07 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.007327/1.201, allocations: 5.602 MB / 1.307 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/1.202, allocations: 263.9 kB / 1.307 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/1.202, allocations: 150.1 kB / 1.307 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/1.202, allocations: 96.97 kB / 1.307 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/1.202, allocations: 45.56 kB / 1.307 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009493/1.203, allocations: 134.5 kB / 1.307 GB, free: 12.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 4.789e-06/1.203, allocations: 1.625 kB / 1.307 GB, free: 12.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001367/1.204, allocations: 495.8 kB / 1.308 GB, free: 12.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/1.205, allocations: 187.2 kB / 1.308 GB, free: 11.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/1.207, allocations: 1.298 MB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/1.207, allocations: 32.67 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/1.207, allocations: 0.6163 MB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/1.207, allocations: 73.42 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/1.208, allocations: 129.4 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.208, allocations: 324.8 kB / 1.31 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006972/1.208, allocations: 251 kB / 1.311 GB, free: 11.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008796/1.209, allocations: 0.5272 MB / 1.311 GB, free: 10.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/1.21, allocations: 0.6551 MB / 1.312 GB, free: 10.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/1.21, allocations: 5.562 kB / 1.312 GB, free: 10.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001944/1.212, allocations: 0.8419 MB / 1.313 GB, free: 10.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.212, allocations: 11.09 kB / 1.313 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.212, allocations: 11.38 kB / 1.313 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/1.212, allocations: 12.12 kB / 1.313 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007111/1.213, allocations: 171.3 kB / 1.313 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/1.213, allocations: 17.95 kB / 1.313 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/1.215, allocations: 181.5 kB / 1.313 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/1.215, allocations: 33.12 kB / 1.313 GB, free: 10.31 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (63): * Single equations (assignments): 63 * 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.0003952/1.215, allocations: 307.7 kB / 1.313 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/1.216, allocations: 116.7 kB / 1.313 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/1.216, allocations: 285.7 kB / 1.314 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.216, allocations: 6.281 kB / 1.314 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.216, allocations: 2.719 kB / 1.314 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-06/1.216, allocations: 5.641 kB / 1.314 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/1.218, allocations: 1.693 MB / 1.315 GB, free: 9.277 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.218, allocations: 2.75 kB / 1.315 GB, free: 9.277 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/1.219, allocations: 39.05 kB / 1.315 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/1.219, allocations: 12.02 kB / 1.315 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/1.219, allocations: 8.75 kB / 1.315 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/1.219, allocations: 4.125 kB / 1.316 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.219, allocations: 6.031 kB / 1.316 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/1.219, allocations: 488.6 kB / 1.316 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/1.22, allocations: 241.8 kB / 1.316 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/1.22, allocations: 11.86 kB / 1.316 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008592/1.221, allocations: 70.05 kB / 1.316 GB, free: 8.801 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/1.221, allocations: 22.83 kB / 1.316 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/1.221, allocations: 11.69 kB / 1.316 GB, free: 8.797 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001375/1.222, allocations: 0.9179 MB / 1.317 GB, free: 8.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.222, allocations: 3.938 kB / 1.317 GB, free: 8.676 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000913/1.223, allocations: 283.4 kB / 1.317 GB, free: 8.645 MB / 1.014 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.001135/1.224, allocations: 1.128 MB / 1.319 GB, free: 7.805 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.225, allocations: 461.6 kB / 1.319 GB, free: 7.789 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.225, allocations: 2.781 kB / 1.319 GB, free: 7.789 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/1.225, allocations: 107 kB / 1.319 GB, free: 7.785 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/1.228, allocations: 0.5813 MB / 1.32 GB, free: 7.684 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.241, allocations: 8.926 MB / 1.328 GB, free: 3.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/1.242, allocations: 1.12 MB / 1.33 GB, free: 2.852 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009091/1.243, allocations: 225.7 kB / 1.33 GB, free: 2.797 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/1.243, allocations: 419.4 kB / 1.33 GB, free: 2.789 MB / 1.014 GB Notification: Performance of SimCode: time 4.4e-07/1.243, allocations: 0 / 1.33 GB, free: 2.789 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.217/3.46, allocations: 27.07 MB / 1.357 GB, free: 10.7 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003585/3.461, allocations: 293.9 kB / 1.357 GB, free: 10.31 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.125/7.586, allocations: 2.25 kB / 1.357 GB, free: 10.31 MB / 1.029 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