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.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.001226/0.001226, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00131/0.00131, allocations: 215.1 kB / 22.25 MB, free: 5.262 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.31/1.31, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.966/2.966, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002954/0.002954, allocations: 73.78 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3239, allocations: 181.9 MB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2227/0.5466, allocations: 196.8 MB / 1.556 GB, free: 8.461 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01824/0.5648, allocations: 12.82 MB / 1.568 GB, free: 11.61 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.5669, allocations: 87.25 kB / 1.568 GB, free: 11.52 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.5688, allocations: 0.788 MB / 1.569 GB, free: 10.73 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005014/0.5739, allocations: 2.244 MB / 1.571 GB, free: 8.473 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.5767, allocations: 1.198 MB / 1.572 GB, free: 7.285 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003433/0.5801, allocations: 2.928 MB / 1.575 GB, free: 4.344 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.5813, allocations: 0.9099 MB / 1.576 GB, free: 3.41 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005559/0.5868, allocations: 2.697 MB / 1.579 GB, free: 0.7109 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.5889, allocations: 1.021 MB / 1.58 GB, free: 15.7 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.589, allocations: 100 kB / 1.58 GB, free: 15.6 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.5914, allocations: 1.301 MB / 1.581 GB, free: 14.3 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0004263/0.5918, allocations: 446.5 kB / 1.582 GB, free: 13.86 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0005902/0.5924, allocations: 0.5637 MB / 1.582 GB, free: 13.3 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.595, allocations: 2.051 MB / 1.584 GB, free: 11.24 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.595, allocations: 4 kB / 1.584 GB, free: 11.23 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.303e-06/0.595, allocations: 0 / 1.584 GB, free: 11.23 MB / 1.279 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.595, allocations: 0 / 1.584 GB, free: 11.23 MB / 1.279 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.002396/0.5974, allocations: 1.604 MB / 1.586 GB, free: 9.59 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.5974, allocations: 12.03 kB / 1.586 GB, free: 9.578 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.5976, allocations: 143.6 kB / 1.586 GB, free: 9.43 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.5996, allocations: 438.6 kB / 1.586 GB, free: 9 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.6012, allocations: 0.8692 MB / 1.587 GB, free: 8.094 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/0.6013, allocations: 78 kB / 1.587 GB, free: 8.02 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.6014, allocations: 87.98 kB / 1.587 GB, free: 7.934 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.6035, allocations: 1.314 MB / 1.589 GB, free: 6.48 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.6035, allocations: 7.938 kB / 1.589 GB, free: 6.473 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/0.6036, allocations: 36 kB / 1.589 GB, free: 6.438 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/0.6036, allocations: 37.3 kB / 1.589 GB, free: 6.402 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.6056, allocations: 0.8752 MB / 1.589 GB, free: 5.527 MB / 1.279 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.006558/0.6121, allocations: 5.375 MB / 1.595 GB, free: 15.96 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.6126, allocations: 247.7 kB / 1.595 GB, free: 15.66 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.6128, allocations: 141 kB / 1.595 GB, free: 15.5 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.6129, allocations: 27.98 kB / 1.595 GB, free: 15.48 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.6129, allocations: 42.48 kB / 1.595 GB, free: 15.43 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000678/0.6136, allocations: 131.4 kB / 1.595 GB, free: 15.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=20): time 2.685e-06/0.6136, allocations: 4 kB / 1.595 GB, free: 15.29 MB / 1.295 GB Notification: Performance of matching and sorting (n=20): time 0.001157/0.6148, allocations: 476.6 kB / 1.596 GB, free: 14.82 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.6149, allocations: 191.9 kB / 1.596 GB, free: 14.59 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.6168, allocations: 1.327 MB / 1.597 GB, free: 13.25 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.6168, allocations: 33.7 kB / 1.597 GB, free: 13.21 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005153/0.6173, allocations: 0.6334 MB / 1.598 GB, free: 12.57 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.6174, allocations: 79.38 kB / 1.598 GB, free: 12.49 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.6176, allocations: 138.2 kB / 1.598 GB, free: 12.35 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6178, allocations: 330 kB / 1.598 GB, free: 12.02 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006421/0.6184, allocations: 237.1 kB / 1.599 GB, free: 11.79 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.6194, allocations: 0.7363 MB / 1.599 GB, free: 10.86 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.6205, allocations: 0.6864 MB / 1.6 GB, free: 10.04 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.6205, allocations: 4 kB / 1.6 GB, free: 10.03 MB / 1.295 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001824/0.6223, allocations: 0.8734 MB / 1.601 GB, free: 9.152 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.6224, allocations: 8 kB / 1.601 GB, free: 9.145 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.6224, allocations: 12.88 kB / 1.601 GB, free: 9.133 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.6224, allocations: 12 kB / 1.601 GB, free: 9.121 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/0.6231, allocations: 175.6 kB / 1.601 GB, free: 8.949 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.6231, allocations: 23.92 kB / 1.601 GB, free: 8.926 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.6242, allocations: 127.8 kB / 1.601 GB, free: 8.801 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/0.6243, allocations: 39.98 kB / 1.601 GB, free: 8.762 MB / 1.295 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.0003687/0.6247, allocations: 301.5 kB / 1.602 GB, free: 8.457 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.6249, allocations: 123.2 kB / 1.602 GB, free: 8.336 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004612/0.6254, allocations: 284.4 kB / 1.602 GB, free: 8.047 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6254, allocations: 4 kB / 1.602 GB, free: 8.043 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.6254, allocations: 4 kB / 1.602 GB, free: 8.039 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6254, allocations: 3.938 kB / 1.602 GB, free: 8.035 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.6275, allocations: 1.549 MB / 1.603 GB, free: 6.391 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6275, allocations: 4 kB / 1.603 GB, free: 6.387 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.6277, allocations: 35.92 kB / 1.603 GB, free: 6.352 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.6277, allocations: 4 kB / 1.603 GB, free: 6.348 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.6277, allocations: 8 kB / 1.603 GB, free: 6.34 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/0.6277, allocations: 12.08 kB / 1.603 GB, free: 6.328 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.6278, allocations: 4 kB / 1.603 GB, free: 6.324 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.6283, allocations: 0.4993 MB / 1.604 GB, free: 5.77 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.6287, allocations: 167 kB / 1.604 GB, free: 5.605 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.6288, allocations: 11.98 kB / 1.604 GB, free: 5.594 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.6295, allocations: 39.95 kB / 1.604 GB, free: 5.555 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.6295, allocations: 31.84 kB / 1.604 GB, free: 5.523 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.6296, allocations: 16 kB / 1.604 GB, free: 5.508 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001436/0.631, allocations: 0.9081 MB / 1.605 GB, free: 4.598 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.631, allocations: 0 / 1.605 GB, free: 4.598 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0007863/0.6318, allocations: 275.6 kB / 1.605 GB, free: 4.328 MB / 1.295 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.001043/0.6328, allocations: 1.133 MB / 1.606 GB, free: 3.137 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009868/0.6338, allocations: 445.7 kB / 1.607 GB, free: 2.703 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.6338, allocations: 4.188 kB / 1.607 GB, free: 2.699 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.634, allocations: 99.77 kB / 1.607 GB, free: 2.602 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.6364, allocations: 0.5737 MB / 1.608 GB, free: 2.035 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5524/1.189, allocations: 8.142 MB / 1.616 GB, free: 245.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006515/1.189, allocations: 0.5218 MB / 1.616 GB, free: 245.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008492/1.19, allocations: 239.8 kB / 1.616 GB, free: 245.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004418/1.191, allocations: 413.3 kB / 1.617 GB, free: 245.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.203e-06/1.191, allocations: 0 / 1.617 GB, free: 245.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06276/1.253, allocations: 30.39 MB / 1.646 GB, free: 236.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/12.1, allocations: 12.11 kB / 1.646 GB, free: 236.2 MB / 1.295 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.241085288114846]