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.001769/0.001769, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002286/0.002286, allocations: 215.4 kB / 23.03 MB, free: 4.922 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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 3.042/3.042, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_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.001939/0.001939, allocations: 63.3 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3311, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.2504/0.5815, allocations: 196.7 MB / 1.537 GB, free: 10.55 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01939/0.6009, allocations: 12.8 MB / 1.55 GB, free: 13.71 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.603, allocations: 87.31 kB / 1.55 GB, free: 13.63 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.6052, allocations: 0.7957 MB / 1.551 GB, free: 12.83 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.006063/0.6113, allocations: 2.24 MB / 1.553 GB, free: 10.58 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.615, allocations: 1.217 MB / 1.554 GB, free: 9.371 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005113/0.6201, allocations: 2.943 MB / 1.557 GB, free: 6.422 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.622, allocations: 0.9294 MB / 1.558 GB, free: 5.469 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007528/0.6295, allocations: 2.699 MB / 1.561 GB, free: 2.766 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/0.6325, allocations: 1.056 MB / 1.562 GB, free: 1.723 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004431/0.6329, allocations: 103.9 kB / 1.562 GB, free: 1.621 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/0.6363, allocations: 1.329 MB / 1.563 GB, free: 296 kB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007183/0.637, allocations: 450.4 kB / 1.563 GB, free: 15.85 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.6382, allocations: 0.552 MB / 1.564 GB, free: 15.29 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.642, allocations: 2.067 MB / 1.566 GB, free: 13.22 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.6421, allocations: 0 / 1.566 GB, free: 13.22 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6421, allocations: 0 / 1.566 GB, free: 13.22 MB / 1.264 GB Notification: Performance of Transformations before backend: time 6.722e-05/0.6421, allocations: 0 / 1.566 GB, free: 13.22 MB / 1.264 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.00365/0.6458, allocations: 1.608 MB / 1.568 GB, free: 11.57 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.6458, allocations: 8.031 kB / 1.568 GB, free: 11.57 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.656e-05/0.6459, allocations: 26 kB / 1.568 GB, free: 11.54 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002534/0.6461, allocations: 139.6 kB / 1.568 GB, free: 11.39 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/0.6486, allocations: 438.7 kB / 1.568 GB, free: 10.96 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.6505, allocations: 0.877 MB / 1.569 GB, free: 10.05 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.126e-05/0.6506, allocations: 74 kB / 1.569 GB, free: 9.984 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.6508, allocations: 84 kB / 1.569 GB, free: 9.902 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.6532, allocations: 1.31 MB / 1.57 GB, free: 8.453 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.6532, allocations: 7.938 kB / 1.57 GB, free: 8.445 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/0.6533, allocations: 36 kB / 1.57 GB, free: 8.41 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.212e-05/0.6534, allocations: 41.3 kB / 1.57 GB, free: 8.371 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.6555, allocations: 0.8791 MB / 1.571 GB, free: 7.492 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.007542/0.663, allocations: 5.358 MB / 1.577 GB, free: 1.934 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.6635, allocations: 251.7 kB / 1.577 GB, free: 1.633 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.6637, allocations: 145 kB / 1.577 GB, free: 1.473 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.6638, allocations: 16 kB / 1.577 GB, free: 1.457 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/0.6639, allocations: 46.48 kB / 1.577 GB, free: 1.402 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000893/0.6648, allocations: 139.3 kB / 1.577 GB, free: 1.266 MB / 1.264 GB Notification: Performance of pre-optimization done (n=20): time 3.155e-06/0.6648, allocations: 0 / 1.577 GB, free: 1.266 MB / 1.264 GB Notification: Performance of matching and sorting (n=20): time 0.001345/0.6661, allocations: 485.2 kB / 1.578 GB, free: 0.7852 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.6663, allocations: 191.9 kB / 1.578 GB, free: 0.5547 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.6684, allocations: 1.307 MB / 1.579 GB, free: 15.23 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.6684, allocations: 25.7 kB / 1.579 GB, free: 15.2 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00057/0.669, allocations: 0.6334 MB / 1.58 GB, free: 14.56 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 8.149e-05/0.6691, allocations: 87.3 kB / 1.58 GB, free: 14.48 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.6693, allocations: 142.2 kB / 1.58 GB, free: 14.33 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6695, allocations: 326 kB / 1.58 GB, free: 14.01 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000674/0.6702, allocations: 245.1 kB / 1.58 GB, free: 13.77 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.6712, allocations: 0.7286 MB / 1.581 GB, free: 12.85 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.6724, allocations: 0.6877 MB / 1.582 GB, free: 12.02 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.6724, allocations: 4 kB / 1.582 GB, free: 12.02 MB / 1.279 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001994/0.6744, allocations: 0.8616 MB / 1.583 GB, free: 11.15 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.6744, allocations: 14.03 kB / 1.583 GB, free: 11.14 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.6744, allocations: 8 kB / 1.583 GB, free: 11.13 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.6744, allocations: 16 kB / 1.583 GB, free: 11.11 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007435/0.6752, allocations: 175.8 kB / 1.583 GB, free: 10.94 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.519e-05/0.6752, allocations: 23.86 kB / 1.583 GB, free: 10.92 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.6765, allocations: 128.2 kB / 1.583 GB, free: 10.79 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/0.6766, allocations: 39.98 kB / 1.583 GB, free: 10.75 MB / 1.279 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.0004456/0.677, allocations: 293.5 kB / 1.583 GB, free: 10.46 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.6773, allocations: 135.1 kB / 1.583 GB, free: 10.32 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005306/0.6778, allocations: 288.2 kB / 1.584 GB, free: 10.04 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.6778, allocations: 4 kB / 1.584 GB, free: 10.03 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.6779, allocations: 3.938 kB / 1.584 GB, free: 10.03 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.6779, allocations: 7.984 kB / 1.584 GB, free: 10.02 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.6802, allocations: 1.545 MB / 1.585 GB, free: 8.379 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6802, allocations: 0 / 1.585 GB, free: 8.379 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.6804, allocations: 39.92 kB / 1.585 GB, free: 8.34 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.6804, allocations: 7.984 kB / 1.585 GB, free: 8.332 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.6804, allocations: 8.375 kB / 1.585 GB, free: 8.324 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.6804, allocations: 11.94 kB / 1.585 GB, free: 8.312 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6804, allocations: 4 kB / 1.585 GB, free: 8.309 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.6811, allocations: 499 kB / 1.586 GB, free: 7.766 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/0.6815, allocations: 175 kB / 1.586 GB, free: 7.594 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.6816, allocations: 11.94 kB / 1.586 GB, free: 7.582 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007463/0.6824, allocations: 43.95 kB / 1.586 GB, free: 7.539 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.6824, allocations: 27.84 kB / 1.586 GB, free: 7.512 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.6825, allocations: 8 kB / 1.586 GB, free: 7.504 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001598/0.6841, allocations: 0.912 MB / 1.587 GB, free: 6.59 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6841, allocations: 4 kB / 1.587 GB, free: 6.586 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0009578/0.685, allocations: 279.6 kB / 1.587 GB, free: 6.312 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.001177/0.6862, allocations: 1.136 MB / 1.588 GB, free: 5.117 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.6873, allocations: 445.2 kB / 1.589 GB, free: 4.684 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6873, allocations: 0 / 1.589 GB, free: 4.684 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.6874, allocations: 101.1 kB / 1.589 GB, free: 4.586 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.6899, allocations: 0.5775 MB / 1.589 GB, free: 4.02 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.7026, allocations: 8.132 MB / 1.597 GB, free: 11.41 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006216/0.7032, allocations: 0.52 MB / 1.598 GB, free: 10.85 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001019/0.7042, allocations: 245.6 kB / 1.598 GB, free: 10.61 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/0.7049, allocations: 411.3 kB / 1.599 GB, free: 10.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.473e-06/0.7049, allocations: 0 / 1.599 GB, free: 10.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7211/1.426, allocations: 29.97 MB / 1.628 GB, free: 261.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.42, allocations: 3.547 kB / 1.628 GB, free: 261.3 MB / 1.295 GB " [Timeout remaining time 285] (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: 21.057235592976213]