Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.001418/0.001418, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001644/0.001644, allocations: 211.8 kB / 22.25 MB, free: 5.121 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 7.977 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.948/2.948, allocations: 0.505 GB / 0.8101 GB, free: 22 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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.001856/0.001856, allocations: 73.56 kB / 1.177 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2978, allocations: 180.2 MB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance): time 0.2504/0.5481, allocations: 227.1 MB / 1.575 GB, free: 4.461 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.5669, allocations: 12.22 MB / 1.587 GB, free: 8.219 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.569, allocations: 103.1 kB / 1.587 GB, free: 8.117 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002426/0.5714, allocations: 0.8889 MB / 1.588 GB, free: 7.223 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.008084/0.5795, allocations: 3.026 MB / 1.591 GB, free: 4.184 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.5835, allocations: 1.507 MB / 1.592 GB, free: 2.684 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.006608/0.5901, allocations: 4.582 MB / 1.596 GB, free: 14.09 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.5924, allocations: 1.374 MB / 1.598 GB, free: 12.68 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006267/0.5986, allocations: 2.853 MB / 1.601 GB, free: 9.82 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/0.602, allocations: 1.647 MB / 1.602 GB, free: 8.184 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004483/0.6025, allocations: 180 kB / 1.602 GB, free: 8.008 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004455/0.6069, allocations: 2.323 MB / 1.605 GB, free: 5.68 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0009052/0.6078, allocations: 0.736 MB / 1.605 GB, free: 4.941 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001631/0.6094, allocations: 1.046 MB / 1.606 GB, free: 3.891 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.005089/0.6145, allocations: 3.352 MB / 1.61 GB, free: 0.5273 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6145, allocations: 0 / 1.61 GB, free: 0.5273 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6145, allocations: 0 / 1.61 GB, free: 0.5273 MB / 1.295 GB Notification: Performance of Transformations before backend: time 6.876e-05/0.6146, allocations: 0 / 1.61 GB, free: 0.5273 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.5463/1.161, allocations: 2.245 MB / 1.612 GB, free: 259.6 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.161, allocations: 14.2 kB / 1.612 GB, free: 259.6 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/1.161, allocations: 212.7 kB / 1.612 GB, free: 259.6 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/1.164, allocations: 0.5019 MB / 1.613 GB, free: 259.5 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/1.166, allocations: 1.258 MB / 1.614 GB, free: 259.1 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/1.166, allocations: 113.2 kB / 1.614 GB, free: 259 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/1.166, allocations: 150.3 kB / 1.614 GB, free: 259 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/1.169, allocations: 1.783 MB / 1.616 GB, free: 258.1 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/1.169, allocations: 6.281 kB / 1.616 GB, free: 258.1 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/1.169, allocations: 60.17 kB / 1.616 GB, free: 258.1 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.082e-05/1.169, allocations: 55.52 kB / 1.616 GB, free: 258.1 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/1.171, allocations: 1.423 MB / 1.617 GB, free: 257.6 MB / 1.295 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.007236/1.179, allocations: 7.47 MB / 1.625 GB, free: 252.2 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/1.18, allocations: 1.026 MB / 1.626 GB, free: 251.7 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/1.181, allocations: 0.6694 MB / 1.626 GB, free: 251.4 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/1.181, allocations: 38.22 kB / 1.626 GB, free: 251.4 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/1.181, allocations: 50.62 kB / 1.626 GB, free: 251.3 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001148/1.182, allocations: 354.8 kB / 1.627 GB, free: 251.2 MB / 1.295 GB Notification: Performance of pre-optimization done (n=106): time 3.025e-06/1.182, allocations: 0 / 1.627 GB, free: 251.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=112): time 0.007322/1.189, allocations: 4.378 MB / 1.631 GB, free: 248.9 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/1.189, allocations: 168.2 kB / 1.631 GB, free: 248.7 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/1.191, allocations: 1.263 MB / 1.632 GB, free: 248.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 8.981e-05/1.191, allocations: 50.25 kB / 1.632 GB, free: 248.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/1.191, allocations: 0.7115 MB / 1.633 GB, free: 247.6 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/1.192, allocations: 422.7 kB / 1.633 GB, free: 247.3 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003368/1.192, allocations: 262.8 kB / 1.634 GB, free: 247.2 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.353e-05/1.192, allocations: 363 kB / 1.634 GB, free: 246.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007596/1.193, allocations: 0.5262 MB / 1.635 GB, free: 246.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008924/1.194, allocations: 0.8567 MB / 1.635 GB, free: 246.1 MB / 1.295 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/1.204, allocations: 4.577 MB / 1.64 GB, free: 244.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.204, allocations: 7.844 kB / 1.64 GB, free: 244.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002422/1.206, allocations: 1.619 MB / 1.641 GB, free: 243.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.206, allocations: 8.469 kB / 1.642 GB, free: 243.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/1.206, allocations: 11.17 kB / 1.642 GB, free: 243.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/1.206, allocations: 14.28 kB / 1.642 GB, free: 243.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.208, allocations: 296 kB / 1.642 GB, free: 243.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/1.208, allocations: 21.42 kB / 1.642 GB, free: 243.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.209, allocations: 51.95 kB / 1.642 GB, free: 243.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.606e-05/1.209, allocations: 56.92 kB / 1.642 GB, free: 243.7 MB / 1.295 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol2.dynBal.medium.p = vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 169 * 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.0006399/1.21, allocations: 428.5 kB / 1.642 GB, free: 243.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/1.21, allocations: 172 kB / 1.643 GB, free: 243.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/1.212, allocations: 1.286 MB / 1.644 GB, free: 242.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/1.212, allocations: 11.75 kB / 1.644 GB, free: 242.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/1.212, allocations: 7.75 kB / 1.644 GB, free: 242.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/1.213, allocations: 1.244 MB / 1.645 GB, free: 242.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005085/1.218, allocations: 3.732 MB / 1.649 GB, free: 240 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.218, allocations: 10.5 kB / 1.649 GB, free: 240 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.219, allocations: 245.2 kB / 1.649 GB, free: 240 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/1.219, allocations: 16.59 kB / 1.649 GB, free: 240 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.809e-05/1.219, allocations: 36.88 kB / 1.649 GB, free: 240 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.776e-05/1.219, allocations: 28.03 kB / 1.649 GB, free: 240 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/1.219, allocations: 15.25 kB / 1.649 GB, free: 240 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/1.221, allocations: 2.144 MB / 1.651 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006386/1.222, allocations: 288.5 kB / 1.651 GB, free: 238.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/1.222, allocations: 35.8 kB / 1.651 GB, free: 238.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009561/1.223, allocations: 55.94 kB / 1.651 GB, free: 238.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/1.223, allocations: 107.2 kB / 1.652 GB, free: 238.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.464e-05/1.224, allocations: 50.95 kB / 1.652 GB, free: 238.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001007/1.225, allocations: 0.8547 MB / 1.652 GB, free: 238.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.225, allocations: 4 kB / 1.652 GB, free: 238.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001282/1.226, allocations: 429.6 kB / 1.653 GB, free: 238.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * 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 (115): * Single equations (assignments): 115 * 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.00249/1.228, allocations: 2.785 MB / 1.656 GB, free: 236.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001656/1.23, allocations: 1.18 MB / 1.657 GB, free: 235.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.23, allocations: 3.906 kB / 1.657 GB, free: 235.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/1.231, allocations: 0.5334 MB / 1.657 GB, free: 235.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/1.234, allocations: 0.9326 MB / 1.658 GB, free: 235 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/1.246, allocations: 12.74 MB / 1.671 GB, free: 222.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/1.247, allocations: 1.376 MB / 1.672 GB, free: 221.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001101/1.248, allocations: 389.5 kB / 1.672 GB, free: 221.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007/1.249, allocations: 0.6321 MB / 1.673 GB, free: 220.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.092e-06/1.249, allocations: 224 / 1.673 GB, free: 220.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07048/1.319, allocations: 44.21 MB / 1.716 GB, free: 176.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.22/18.54, allocations: 14.5 kB / 1.716 GB, free: 176.7 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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: 24.662235914031044]