Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_10_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.00125/0.00125, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.006146/0.006146, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.415/2.415, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003226, allocations: 12.28 kB / 0.8729 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.629/0.6293, allocations: 153.8 MB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2113/0.8407, allocations: 216.7 MB / 1.235 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5777/1.418, allocations: 13.69 MB / 1.248 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/1.421, allocations: 55.91 kB / 1.248 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/1.423, allocations: 0.6767 MB / 1.249 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00566/1.428, allocations: 2.034 MB / 1.251 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003133/1.431, allocations: 1.047 MB / 1.252 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006227/1.438, allocations: 4.022 MB / 1.256 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/1.44, allocations: 0.9915 MB / 1.257 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006985/1.447, allocations: 2.208 MB / 1.259 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/1.45, allocations: 1.019 MB / 1.26 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002665/1.45, allocations: 46.62 kB / 1.26 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004224/1.454, allocations: 1.817 MB / 1.262 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005045/1.455, allocations: 377.9 kB / 1.262 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/1.456, allocations: 0.629 MB / 1.263 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003245/1.459, allocations: 2.074 MB / 1.265 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.459, allocations: 1.125 kB / 1.265 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/1.459, allocations: 0 / 1.265 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.509e-05/1.459, allocations: 6.906 kB / 1.265 GB, free: 1.73 MB / 0.9825 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.002353/1.462, allocations: 1.412 MB / 1.266 GB, free: 16.88 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.462, allocations: 12.17 kB / 1.266 GB, free: 16.88 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/1.462, allocations: 145.5 kB / 1.266 GB, free: 16.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/1.464, allocations: 469.6 kB / 1.267 GB, free: 16.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/1.465, allocations: 0.8966 MB / 1.268 GB, free: 16.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009264/1.466, allocations: 265.2 kB / 1.268 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/1.466, allocations: 94.66 kB / 1.268 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/1.469, allocations: 1.22 MB / 1.269 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.469, allocations: 4.344 kB / 1.269 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/1.469, allocations: 36.12 kB / 1.269 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-05/1.469, allocations: 31.62 kB / 1.269 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/1.471, allocations: 0.9299 MB / 1.27 GB, free: 16.03 MB / 0.9981 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.006439/1.477, allocations: 5.641 MB / 1.276 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/1.478, allocations: 262.2 kB / 1.276 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/1.478, allocations: 152 kB / 1.276 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/1.478, allocations: 100.7 kB / 1.276 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/1.478, allocations: 40.41 kB / 1.276 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007469/1.479, allocations: 132.3 kB / 1.276 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.805e-06/1.479, allocations: 1.5 kB / 1.276 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001171/1.48, allocations: 465.2 kB / 1.277 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.48, allocations: 190.3 kB / 1.277 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/1.482, allocations: 1.317 MB / 1.278 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/1.482, allocations: 32.86 kB / 1.278 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/1.482, allocations: 0.609 MB / 1.279 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.302e-05/1.482, allocations: 78.86 kB / 1.279 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/1.483, allocations: 40.7 kB / 1.279 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.483, allocations: 333 kB / 1.279 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006798/1.483, allocations: 254.3 kB / 1.279 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009072/1.484, allocations: 0.5381 MB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/1.485, allocations: 0.6659 MB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/1.485, allocations: 3.125 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002319/1.488, allocations: 0.8574 MB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/1.488, allocations: 13 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/1.488, allocations: 9.812 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/1.488, allocations: 11.16 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.489, allocations: 180.2 kB / 1.282 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/1.489, allocations: 18.08 kB / 1.282 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/1.491, allocations: 202.3 kB / 1.282 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/1.491, allocations: 40.47 kB / 1.282 GB, free: 10.21 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.000615/1.492, allocations: 295.5 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/1.492, allocations: 121.5 kB / 1.282 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006027/1.493, allocations: 280.2 kB / 1.283 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.493, allocations: 3.344 kB / 1.283 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.493, allocations: 2.938 kB / 1.283 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.493, allocations: 3.281 kB / 1.283 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/1.496, allocations: 1.678 MB / 1.284 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.496, allocations: 2.969 kB / 1.284 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/1.496, allocations: 35.28 kB / 1.284 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/1.496, allocations: 11.86 kB / 1.284 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/1.496, allocations: 6.188 kB / 1.284 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/1.496, allocations: 16.31 kB / 1.284 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.496, allocations: 3.531 kB / 1.284 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/1.497, allocations: 487.5 kB / 1.285 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004914/1.497, allocations: 240.8 kB / 1.285 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/1.497, allocations: 8.656 kB / 1.285 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.499, allocations: 79.95 kB / 1.285 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/1.499, allocations: 19.64 kB / 1.285 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/1.499, allocations: 15.12 kB / 1.285 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002207/1.501, allocations: 0.9253 MB / 1.286 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.2e-07/1.501, allocations: 2.969 kB / 1.286 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001431/1.503, allocations: 274 kB / 1.286 GB, free: 8.57 MB / 0.9981 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.001495/1.504, allocations: 1.138 MB / 1.287 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00161/1.506, allocations: 452.4 kB / 1.288 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.506, allocations: 4.062 kB / 1.288 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/1.506, allocations: 100.9 kB / 1.288 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/1.51, allocations: 0.5667 MB / 1.288 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.522, allocations: 8.976 MB / 1.297 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/1.523, allocations: 1.114 MB / 1.298 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001041/1.524, allocations: 228.8 kB / 1.299 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/1.524, allocations: 414.4 kB / 1.299 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/1.524, allocations: 0 / 1.299 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3484/1.873, allocations: 25.94 MB / 1.324 GB, free: 11.26 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/1.873, allocations: 288.4 kB / 1.325 GB, free: 10.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/4.159, allocations: 2.344 kB / 1.325 GB, free: 10.88 MB / 1.014 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches