Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.822/2.822, allocations: 0.49 GB / 0.7923 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.91 kB / 1.15 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8735/0.8754, allocations: 176.1 MB / 1.322 GB, free: 7.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2638/1.139, allocations: 225.8 MB / 1.542 GB, free: 3.5 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02072/1.16, allocations: 13.82 MB / 1.556 GB, free: 5.645 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/1.163, allocations: 87.31 kB / 1.556 GB, free: 5.559 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002544/1.165, allocations: 0.8464 MB / 1.556 GB, free: 4.707 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00603/1.171, allocations: 2.228 MB / 1.559 GB, free: 2.469 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003287/1.175, allocations: 1.202 MB / 1.56 GB, free: 1.277 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004238/1.179, allocations: 2.869 MB / 1.563 GB, free: 14.4 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/1.18, allocations: 0.9992 MB / 1.564 GB, free: 13.38 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006329/1.187, allocations: 2.707 MB / 1.566 GB, free: 10.67 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002302/1.189, allocations: 1.071 MB / 1.567 GB, free: 9.613 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/1.189, allocations: 100 kB / 1.567 GB, free: 9.516 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/1.192, allocations: 1.648 MB / 1.569 GB, free: 7.863 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004744/1.193, allocations: 450.4 kB / 1.569 GB, free: 7.422 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.000803/1.194, allocations: 0.6763 MB / 1.57 GB, free: 6.742 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003058/1.197, allocations: 2.094 MB / 1.572 GB, free: 4.641 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.197, allocations: 0 / 1.572 GB, free: 4.641 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.312e-06/1.197, allocations: 0 / 1.572 GB, free: 4.641 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.768e-05/1.197, allocations: 0 / 1.572 GB, free: 4.641 MB / 1.248 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.002613/1.199, allocations: 1.68 MB / 1.574 GB, free: 2.902 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.199, allocations: 19.92 kB / 1.574 GB, free: 2.883 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.384e-05/1.199, allocations: 22 kB / 1.574 GB, free: 2.863 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001699/1.199, allocations: 143.6 kB / 1.574 GB, free: 2.715 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/1.202, allocations: 442.6 kB / 1.574 GB, free: 2.281 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/1.203, allocations: 0.9569 MB / 1.575 GB, free: 1.281 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/1.203, allocations: 66 kB / 1.575 GB, free: 1.215 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/1.204, allocations: 91.98 kB / 1.575 GB, free: 1.125 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/1.206, allocations: 1.234 MB / 1.577 GB, free: 15.77 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.206, allocations: 4 kB / 1.577 GB, free: 15.77 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.062e-05/1.206, allocations: 36 kB / 1.577 GB, free: 15.73 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/1.206, allocations: 41.23 kB / 1.577 GB, free: 15.7 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/1.208, allocations: 0.8713 MB / 1.578 GB, free: 14.82 MB / 1.264 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.00715/1.215, allocations: 6.261 MB / 1.584 GB, free: 8.219 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/1.215, allocations: 247.7 kB / 1.584 GB, free: 7.922 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/1.216, allocations: 145 kB / 1.584 GB, free: 7.762 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/1.216, allocations: 97.09 kB / 1.584 GB, free: 7.648 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/1.216, allocations: 42.5 kB / 1.584 GB, free: 7.598 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000748/1.217, allocations: 139.3 kB / 1.584 GB, free: 7.461 MB / 1.264 GB Notification: Performance of pre-optimization done (n=20): time 2.815e-06/1.217, allocations: 0 / 1.584 GB, free: 7.461 MB / 1.264 GB Notification: Performance of matching and sorting (n=20): time 0.001216/1.218, allocations: 489.1 kB / 1.585 GB, free: 6.977 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/1.218, allocations: 183.9 kB / 1.585 GB, free: 6.754 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/1.22, allocations: 1.303 MB / 1.586 GB, free: 5.434 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/1.22, allocations: 33.7 kB / 1.586 GB, free: 5.395 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005132/1.22, allocations: 0.6334 MB / 1.587 GB, free: 4.754 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/1.221, allocations: 75.36 kB / 1.587 GB, free: 4.68 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/1.221, allocations: 146.1 kB / 1.587 GB, free: 4.527 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.221, allocations: 330 kB / 1.587 GB, free: 4.199 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006618/1.222, allocations: 240.9 kB / 1.588 GB, free: 3.965 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009217/1.222, allocations: 0.548 MB / 1.588 GB, free: 3.273 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.224, allocations: 0.6979 MB / 1.589 GB, free: 2.434 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.224, allocations: 0 / 1.589 GB, free: 2.434 MB / 1.264 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001919/1.226, allocations: 0.8621 MB / 1.59 GB, free: 1.566 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.226, allocations: 12 kB / 1.59 GB, free: 1.555 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.226, allocations: 12.09 kB / 1.59 GB, free: 1.543 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/1.226, allocations: 16 kB / 1.59 GB, free: 1.527 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/1.226, allocations: 163.8 kB / 1.59 GB, free: 1.367 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/1.226, allocations: 27.8 kB / 1.59 GB, free: 1.34 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/1.228, allocations: 131.9 kB / 1.59 GB, free: 1.211 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/1.228, allocations: 39.98 kB / 1.59 GB, free: 1.172 MB / 1.264 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.0003883/1.228, allocations: 293.6 kB / 1.59 GB, free: 0.875 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/1.228, allocations: 131.2 kB / 1.59 GB, free: 0.7461 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/1.229, allocations: 284.5 kB / 1.591 GB, free: 472 kB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.229, allocations: 0 / 1.591 GB, free: 472 kB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.229, allocations: 7.938 kB / 1.591 GB, free: 464 kB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/1.229, allocations: 7.969 kB / 1.591 GB, free: 456 kB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/1.231, allocations: 1.682 MB / 1.592 GB, free: 14.66 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.231, allocations: 0 / 1.592 GB, free: 14.66 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/1.231, allocations: 39.98 kB / 1.592 GB, free: 14.62 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/1.231, allocations: 4 kB / 1.592 GB, free: 14.62 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/1.231, allocations: 4 kB / 1.592 GB, free: 14.61 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.986e-06/1.231, allocations: 11.92 kB / 1.592 GB, free: 14.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.231, allocations: 4 kB / 1.592 GB, free: 14.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/1.232, allocations: 0.4955 MB / 1.593 GB, free: 14.05 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/1.232, allocations: 240.2 kB / 1.593 GB, free: 13.79 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/1.232, allocations: 4 kB / 1.593 GB, free: 13.79 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/1.233, allocations: 51.94 kB / 1.593 GB, free: 13.74 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/1.233, allocations: 23.86 kB / 1.593 GB, free: 13.71 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/1.233, allocations: 8 kB / 1.593 GB, free: 13.71 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001444/1.234, allocations: 0.9198 MB / 1.594 GB, free: 12.79 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/1.234, allocations: 0 / 1.594 GB, free: 12.79 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008492/1.235, allocations: 283.6 kB / 1.594 GB, free: 12.51 MB / 1.279 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.001105/1.236, allocations: 1.139 MB / 1.596 GB, free: 11.31 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001041/1.237, allocations: 437.2 kB / 1.596 GB, free: 10.88 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.237, allocations: 0 / 1.596 GB, free: 10.88 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/1.238, allocations: 99.75 kB / 1.596 GB, free: 10.79 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.24, allocations: 0.5898 MB / 1.597 GB, free: 10.21 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.252, allocations: 8.149 MB / 1.605 GB, free: 1.586 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/1.253, allocations: 1.114 MB / 1.606 GB, free: 452 kB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0007508/1.254, allocations: 237.6 kB / 1.606 GB, free: 212 kB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/1.254, allocations: 415.3 kB / 1.606 GB, free: 15.8 MB / 1.295 GB Notification: Performance of SimCode: time 7.82e-07/1.254, allocations: 3.938 kB / 1.606 GB, free: 15.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05643/1.311, allocations: 27.68 MB / 1.633 GB, free: 4.605 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.903/11.21, allocations: 15.61 kB / 1.633 GB, free: 4.594 MB / 1.311 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.507642127980944]